Skip to content

Commit d9a6272

Browse files
zach-carrjeff-allen-mongo
authored andcommitted
(DOCSP-11888) Explain link between Atlas roles and Charts permissions (#406)
(DOCSP-11888) Explain link between Atlas roles and Charts permissions
1 parent 6b510e8 commit d9a6272

File tree

1 file changed

+41
-25
lines changed

1 file changed

+41
-25
lines changed

source/data-source-permissions.txt

Lines changed: 41 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ Data source permissions dictate which actions users in your |service|
1616
project can perform on the data source. You can also set data source
1717
permissions to make a data source only visible to a subset of users.
1818

19-
|service| automatically grants data source permissions based on a
20-
user's :atlas:`Atlas role </reference/user-roles/>`. You must
21-
manually :ref:`grant permissions <data-source-set-permissions>`
22-
to users with the ``Project Read Only`` |service| role to allow
23-
those users to view charts which use a particular data source.
24-
2519
The following table describes the data source permission levels:
2620

2721
.. _data-source-roles:
@@ -30,8 +24,9 @@ The following table describes the data source permission levels:
3024
:header-rows: 1
3125
:widths: 20 80
3226

33-
* - Permission
27+
* - Data Source Permission
3428
- Description
29+
3530
* - .. data:: Viewer
3631
- Can view any chart on a dashboard that uses the data source.
3732
You can grant this permission to
@@ -48,37 +43,57 @@ The following table describes the data source permission levels:
4843
- Inherits all actions from ``Viewer`` and can also
4944
create and edit charts using the data source.
5045

51-
Users who have one of the following
52-
:atlas:`Atlas roles </reference/user-roles/>` automatically have
53-
the ``Author`` permission on all data sources:
54-
55-
- ``Project Data Access Read Only``
56-
- ``Project Data Access Read / Write``
57-
- ``Project Data Access Admin``
58-
5946
.. note::
6047

6148
If you create a data source and do not have the
6249
``Project Owner``
63-
:atlas:`Atlas role </reference/user-roles/>`, you will
50+
:atlas:`project role </reference/user-roles/#project-roles>`,
51+
you will
6452
not be an ``Owner`` of that data source. The ``Owner``
6553
data source permission is reserved for users with the
66-
``Project Owner`` |service| role.
54+
``Project Owner`` role.
6755

6856
* - .. data:: Owner
6957
- Inherits all permissions from ``Author`` and can also
7058
:ref:`manage all aspects of the data source
7159
<manage-existing-data-sources>`.
72-
73-
Users with the ``Project Owner``
74-
:atlas:`Atlas role </reference/user-roles/>` automatically
75-
have the ``Owner`` permission on all data sources.
60+
61+
Permissions Granted by Project Roles
62+
------------------------------------
63+
64+
|charts-short| automatically grants data source permissions for
65+
certain :atlas:`project roles </reference/user-roles/#project-roles>`.
66+
The following table lists project roles and the data source
67+
permission they grant:
68+
69+
.. list-table::
70+
:header-rows: 1
71+
:widths: 70 30
72+
73+
* - Project Roles
74+
- Data Source Permission
75+
76+
* - - :authrole:`Project Read Only`
77+
- :authrole:`Project Cluster Manager`
78+
- None. A data source ``Owner`` may
79+
:ref:`grant Viewer permissions <data-source-set-permissions>`
80+
to these roles.
81+
82+
* - - :authrole:`Project Data Access Admin`
83+
- :authrole:`Project Data Access Read/Write`
84+
- :authrole:`Project Data Access Read Only`
85+
- ``Author``
86+
87+
* - - :authrole:`Project Owner`
88+
- ``Owner``
89+
7690

7791
Modify Data Source Authors and Owners
7892
-------------------------------------
7993

8094
|service| automatically assigns data source permissions to users based
81-
on their :atlas:`Atlas roles </reference/user-roles/>`. As such, to
95+
on their :atlas:`project roles </reference/user-roles/#project-roles>`.
96+
As such, to
8297
modify data source :data:`Authors <Author>` and :data:`Owners <Owner>`,
8398
you must do so through the |service| :guilabel:`Access Management` page.
8499

@@ -157,8 +172,8 @@ Specific User Access
157172
instance.
158173

159174
To grant specific users with the ``Project Read Only``
160-
:atlas:`Atlas role </reference/user-roles/>` permission to view
161-
charts which use your data source:
175+
:atlas:`project role </reference/user-roles/#project-roles>` permission
176+
to view charts which use your data source:
162177

163178
1. For the data source to which you want to manage access, click the
164179
:guilabel:`Access` button.
@@ -179,7 +194,8 @@ Access for All Users
179194
~~~~~~~~~~~~~~~~~~~~
180195

181196
You can the grant the :data:`Viewer` permission to all users with the
182-
``Project Read Only`` :atlas:`Atlas role </reference/user-roles/>`.
197+
``Project Read Only``
198+
:atlas:`project role </reference/user-roles/#project-roles>`.
183199
This allows all users to view any chart on a dashboard that uses that
184200
data source.
185201

0 commit comments

Comments
 (0)