Skip to content

Conversation

ggray-cb
Copy link
Contributor

@ggray-cb ggray-cb commented Aug 15, 2025

The main goal of this PR is to add documentation for the Read-Only Security Admin role (MB-67164). It also cleans up references to Local/External User Security Admin roles from past changes.

Preview URL:
https://preview.docs-test.couchbase.com/docs-server-DOC-13315_new_roles_and_cleanup

You will need the Docs Team credentials on Confluence.

Primary changes, with link to preview:

Fixes to roles references are mainly in the REST API docs. It's probably easiest to just view the diff for these. In most cases, the allowed roles were verified using a script that brute force calls the REST API endpoint with a user with a single role assigned to them. In particular, this dramatically increased the list of roles that can access the identify orchestrator REST API endpoint.

* Edited Read-Only Admin role to reflect changes to priviliges.
* Changed several role names to match the names in reported by Couchbase (i.e. Query Manage Sequences -> Manage Sequences).
* Cleanup of lingering references to Local and External User Admin roles.
* In several cases, updated the roles requirements for REST API calls. These were mainly determined by using a script that calls he endpoints with every possible role.

The `ip-address-or-domain-name` should specify a node within the cluster whose orchestrator-location is to be determined: information returned by the call is that which is _known to the specified node_.
The `username` and `password` must be those of a user with the Full Admin, Cluster Admin, Read Only Admin, Local User Security Admin, or External User Security role.
The `username` and `password` must a user with one of the roles listed in the newxt section.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newxt -> next


You must have one of the following roles to call this endpoint:

* Full Admin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason these aren't the same as above? e.g.

  • xref:learn:security/roles.adoc#views-reader[Views Reader]


You must have one of the following roles to call the GET methods:

* Full Admin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question about why these are short cuts vs

xref:learn:security/roles.adoc#security-admin[Security Admin]

Copy link

@istvano istvano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants