Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
1
-
SDK24: Lambda + Known Issues
Description
This requests support for exercising the changePassword API using the Couchbase Go SDK. It doesn't appear that this is currently supported. We have the need to change a user's own password and are currently using the "settings/rbac/users" API via https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470.
This requires the user to have the "full_admin" role, which is more permissive than we'd like. Additional context is available in this forum post:
We're open to other approaches around constructing the changePassword request using the Couchbase Go SDK if any are available.
Thanks!
Attachments
Issue Links
- relates to
-
JVMCBC-976 Internal HTTP client API
-
- Resolved
-
Activity
Field | Original Value | New Value |
---|---|---|
Status | New [ 10003 ] | Open [ 1 ] |
Fix Version/s | .future [ 12426 ] |
Assignee | Charles Dixon [ charles.dixon ] | Arun Vijayraghavan [ JIRAUSER24794 ] |
Link | This issue relates to CBD-4634 [ CBD-4634 ] |
Link |
This issue relates to |
Assignee | Arun Vijayraghavan [ JIRAUSER24794 ] | Charles Dixon [ charles.dixon ] |
Fix Version/s | 2.5.1 [ 18328 ] | |
Fix Version/s | .future [ 12426 ] |
Sprint | SDK24: Lambda + Known Issues [ 2167 ] |
Rank | Ranked higher |
Rank | Ranked lower |
Link | This issue relates to CBSE-11450 [ CBSE-11450 ] |
Epic Link | CBD-4876 [ 191565 ] |
Description |
This requests support for exercising the [https://docs.couchbase.com/server/current/rest-api/rest-node-set-username.html#changing-password] API using the Couchbase Go SDK. It doesn't appear that this is currently supported. We have the need to change a user's own password and are currently using the "settings/rbac/users" API via [https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470.|https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470]
This requires the user to have the "full_admin" role, which is more permissive than we'd like. Additional context is available in this forum post: [https://forums.couchbase.com/t/role-required-to-change-users-own-password-via-the-settings-rbac-users-api/32558] We're open to other approaches around constructing the changePassword request using the Couchbase Go SDK if any are available. Thanks! |
This requests support for exercising the [https://docs.couchbase.com/server/7.0/rest-api/rest-node-set-username.html#changing-password] API using the Couchbase Go SDK. It doesn't appear that this is currently supported. We have the need to change a user's own password and are currently using the "settings/rbac/users" API via [https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470.|https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470]
This requires the user to have the "full_admin" role, which is more permissive than we'd like. Additional context is available in this forum post: [https://forums.couchbase.com/t/role-required-to-change-users-own-password-via-the-settings-rbac-users-api/32558] We're open to other approaches around constructing the changePassword request using the Couchbase Go SDK if any are available. Thanks! |
Description |
This requests support for exercising the [https://docs.couchbase.com/server/7.0/rest-api/rest-node-set-username.html#changing-password] API using the Couchbase Go SDK. It doesn't appear that this is currently supported. We have the need to change a user's own password and are currently using the "settings/rbac/users" API via [https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470.|https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470]
This requires the user to have the "full_admin" role, which is more permissive than we'd like. Additional context is available in this forum post: [https://forums.couchbase.com/t/role-required-to-change-users-own-password-via-the-settings-rbac-users-api/32558] We're open to other approaches around constructing the changePassword request using the Couchbase Go SDK if any are available. Thanks! |
This requests support for exercising the [changePassword|https://docs.couchbase.com/server/7.0/rest-api/rest-node-set-username.html#changing-password] API using the Couchbase Go SDK. It doesn't appear that this is currently supported. We have the need to change a user's own password and are currently using the "settings/rbac/users" API via [https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470.|https://github.com/couchbase/gocb/blob/master/cluster_usermgr.go#L470]
This requires the user to have the "full_admin" role, which is more permissive than we'd like. Additional context is available in this forum post: [https://forums.couchbase.com/t/role-required-to-change-users-own-password-via-the-settings-rbac-users-api/32558] We're open to other approaches around constructing the changePassword request using the Couchbase Go SDK if any are available. Thanks! |
Summary | Add support for the controller/changePassword API to the Go SDK | Implement ChangePassword |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Remote Link | This issue links to "Page (Couchbase, Inc. Wiki)" [ 24250 ] |
Labels | sdkapi-3.4 |
Remote Link | This issue links to "Page (Couchbase, Inc. Wiki)" [ 24738 ] |
Workflow | Couchbase SDK Workflow [ 221797 ] | Couchbase SDK Workflow with Review [ 252285 ] |
Hi Austin Gebauer we have plans within the SDK to add a HTTP client, which will allow users to specify things like the URL path, body etc... and the SDK will handle routing and all those details. The timeframe for this isn't specified at the moment and it will initially be added at volatile API stability but it should cover this sort of usecase where you want to do something that the SDK doesn't specifically support.