Skip to content

Commit 2a8cf13

Browse files
jwilliams-mongojeff-allen-mongo
authored andcommitted
(DOCSP-10568), (DOCSP-10653): Data source changes (#362)
* (DOCSP-10568): As a user, I can see the document count and size for each collection when adding a data source * (DOCSP-10568): small fixes * (DOCSP-10568): image tweak * (DOCSP-10568), (DOCSP-10653): adding other data source changes to this PR per DOCSP-10653
1 parent 602a237 commit 2a8cf13

File tree

5 files changed

+34
-43
lines changed

5 files changed

+34
-43
lines changed

source/data-source-permissions.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,9 @@ permissions:
135135
Set Data Source Permissions
136136
---------------------------
137137

138-
If you are a data source :data:`Owner`, you can:
139-
140-
- Set data source permissions when you first
141-
:ref:`add a data source <add-data-source>`, and
142-
143-
- :ref:`Modify permissions <mod-data-source-permissions>` on a data
144-
source which has already been created.
138+
If you are a data source :data:`Owner`, you can :ref:`Modify permissions
139+
<mod-data-source-permissions>` on a data source which has already been
140+
created.
145141

146142
Refer to the following sections for instructions on granting
147143
:ref:`specific users <data-source-specific-access>` permissions on a

source/data-sources.txt

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -119,28 +119,25 @@ Add a Data Source
119119
|charts-short| creates a separate data source for each selected
120120
collection.
121121

122-
#. Click :guilabel:`Set Permissions`.
122+
Select or expand a database to display the number of documents in and
123+
the size of each collection it contains.
123124

124-
#. Set the :ref:`permissions <permission-model>` for the data source.
125+
.. figure:: /images/charts/collection-size.png
126+
:figwidth: 640px
127+
:alt: Collection size statistics shown on the Add Data Source modal
125128

126-
You can assign the :data:`Viewer` permission to every user in the
127-
project. To assign a user a specific permission level, search for
128-
the user by name or email address using the search bar.
129+
#. Click :guilabel:`Finish`.
129130

130-
.. note::
131+
.. important::
131132

132-
If you selected multiple collections for your data source in step
133-
4, the data source :ref:`permissions <permission-model>` you
134-
select are applied to all of the selected collections when you
135-
publish your data source. If you wish to apply different
136-
permissions to individual collections that you have selected, you
137-
will need to edit those data sources after publishing.
138-
139-
#. Click :guilabel:`Publish Data Source`.
133+
|charts-short| grants the default
134+
:ref:`permissions <permission-model>` to each data source. To set the
135+
permissions for a data source, see
136+
:ref:`mod-data-source-permissions`.
140137

141138
You will see your newly added data source listed in the
142-
:guilabel:`Data Sources` list. To learn how to manage existing
143-
data sources, see :doc:`manage-data-sources`.
139+
:guilabel:`Data Sources` list. To learn how to manage existing data
140+
sources, see :doc:`manage-data-sources`.
144141

145142
Data Source Read Preference
146143
---------------------------
126 KB
Loading

source/includes/steps-add-data-source-mflix.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,16 @@ content: |
3535
``sample_mflix`` database from the list. Select all collections from
3636
the ``sample_mflix`` database.
3737
---
38-
title: "Click :guilabel:`Set Permissions`."
39-
ref: permissions-button
40-
level: 4
41-
---
42-
title: "Leave these options as default and click
43-
:guilabel:`Publish Data Source`."
38+
title: "Click :guilabel:`Finish`."
4439
ref: click-publish
4540
level: 4
4641
content: |
47-
.. note::
42+
.. note::
43+
44+
45+
|charts-short| grants the default
46+
permissions to each data source. For details on data source
47+
permissions, see the :ref:`Data Source Permissions
48+
<permission-model>` page.
4849
49-
For details on data source permissions, see the
50-
:ref:`Data Source Permissions <permission-model>`
51-
page.
50+
...

source/includes/steps-add-data-source-supplies.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,16 @@ content: |
3535
``sample_supplies`` database from the list. This selects the
3636
``sales`` collection within the database.
3737
---
38-
title: "Click :guilabel:`Set Permissions`."
39-
ref: permissions-button
40-
level: 4
41-
---
42-
title: "Accept the default options and click
43-
:guilabel:`Publish Data Source`."
38+
title: "Click :guilabel:`Finish`."
4439
ref: click-publish
4540
level: 4
4641
content: |
47-
.. note::
42+
.. note::
43+
44+
45+
|charts-short| grants the default
46+
permissions to each data source. For details on data source
47+
permissions, see the :ref:`Data Source Permissions
48+
<permission-model>` page.
4849
49-
For details on data source permissions, see the
50-
:ref:`Data Source Permissions <permission-model>`
51-
page.
50+
...

0 commit comments

Comments
 (0)