-
Notifications
You must be signed in to change notification settings - Fork 43
Adds **Revoking grants from a user** paragraph #5161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/credentials/revoke_all.yaml | ||
:language: yaml | ||
:start-at: # empty permissions array | ||
:end-at: [ books ] | ||
:dedent: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
To revoke a previously granted privilege, remove it from the configuration. | ||
|
||
For example, here is how to to grant privileges to a space and how to revoke one of the privileges: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: to to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -0,0 +1,15 @@ | |||
# grant privileges |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments ends with a colon, but some don't.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
sampleuser: | ||
password: '123456' | ||
roles: [ writers_space_reader ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to show any password/roles? It seems irrelevent to the idea we're describing.
I guess if we show everything starting from the privileges
key, it is easy enough to understand. But at least I would eliminate passwords and roles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's remove
Fixes #5152