Skip to content

DOCS-3403 - harmonize action-resource mappings #1925

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 21 additions & 22 deletions source/reference/privilege-actions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,21 @@ Database Management Actions
.. authaction:: changeCustomData

User can change the custom information of any user in the given
database. Apply this action to database or collection resources.
database. Apply this action to database resources.

.. authaction:: changeOwnCustomData

Users can change their own custom information. Apply this action to
database or collection resources.
database resources.

.. authaction:: changeOwnPassword

Users can change their own passwords. Apply this action to database or
collection resources.
Users can change their own passwords. Apply this action to database resources.

.. authaction:: changePassword

User can change the password of any user in the given database. Apply
this action to database or collection resources.
this action to database resources.

.. authaction:: createCollection

Expand All @@ -78,12 +77,12 @@ Database Management Actions
.. authaction:: createRole

User can create new roles in the given database. Apply this action to
database or collection resources.
database resources.

.. authaction:: createUser

User can create new users in the given database. Apply this action to
database or collection resources.
database resources.

.. authaction:: dropCollection

Expand All @@ -93,12 +92,12 @@ Database Management Actions
.. authaction:: dropRole

User can delete any role from the given database. Apply this action to
database or collection resources.
database resources.

.. authaction:: dropUser

User can remove any user from the given database. Apply this action to
database or collection resources.
database resources.

.. authaction:: emptycapped

Expand All @@ -108,12 +107,12 @@ Database Management Actions
.. authaction:: enableProfiler

User can perform the :method:`db.setProfilingLevel()` method. Apply
this action to database or collection resources.
this action to database resources.

.. authaction:: grantRole

User can grant any role in the database to any user from any database
in the system. Apply this action to database or collection resources.
in the system. Apply this action to database resources.

.. authaction:: killCursors

Expand All @@ -122,7 +121,7 @@ Database Management Actions
.. authaction:: revokeRole

User can remove any role from any user from any database in the system.
Apply this action to database or collection resources.
Apply this action to database resources.

.. authaction:: unlock

Expand All @@ -132,12 +131,12 @@ Database Management Actions
.. authaction:: viewRole

User can view information about any role in the given database. Apply
this action to database or collection resources.
this action to database resources.

.. authaction:: viewUser

User can view the information of any user in the given database. Apply
this action to database or collection resources.
this action to database resources.

Deployment Management Actions
-----------------------------
Expand Down Expand Up @@ -260,7 +259,7 @@ Sharding Actions
.. authaction:: getShardVersion

User can perform the :dbcommand:`getShardVersion` command. Apply this
action to database or collection resources.
action to database resources.

.. authaction:: listShards

Expand All @@ -284,13 +283,13 @@ Sharding Actions

.. authaction:: splitChunk

User can perform the :dbcommand:`splitChunk` command. Apply this action
to the ``cluster`` resource.
User can perform the :dbcommand:`splitChunk` command. Apply this action to
database or collection resources.

.. authaction:: splitVector

User can perform the :dbcommand:`splitVector` command. Apply this
action to the ``cluster`` resource.
User can perform the :dbcommand:`splitVector` command. Apply this action to
database or collection resources.

Server Administration Actions
-----------------------------
Expand Down Expand Up @@ -328,7 +327,7 @@ Server Administration Actions
.. authaction:: dropDatabase

User can perform the :dbcommand:`dropDatabase` command. Apply this action
to database or collection resources.
to database resources.

.. authaction:: dropIndex

Expand Down Expand Up @@ -379,7 +378,7 @@ Server Administration Actions
.. authaction:: repairDatabase

User can perform the :dbcommand:`repairDatabase` command. Apply this
action to database or collection resources.
action to database resources.

.. authaction:: setParameter

Expand Down Expand Up @@ -422,7 +421,7 @@ Diagnostic Actions
.. authaction:: dbStats

User can perform the :dbcommand:`dbStats` command. Apply this action to
database or collection resources.
database resources.

.. authaction:: diagLogging

Expand Down