|
| 1 | +.. _permissions: |
| 2 | + |
| 3 | +=========== |
| 4 | +Permissions |
| 5 | +=========== |
| 6 | + |
| 7 | +| Permissions in GeoNode are set per resource, where a resource can be a layer, a map, a document or a service. The way the permissions are set is the same for all of them. |
| 8 | +
|
| 9 | +.. warning:: |
| 10 | + |
| 11 | + GeoNode has a set of default permissions that are applied on resource creation **when** you don't explicitly declare them. |
| 12 | + This is particularly relevant when creating and saving a map, where you won't have the possibility to set the its permissions during the creation phase. |
| 13 | + GeoNode can be tuned to make sure that by default the new created resource are not public, this can be done by changing two settings, see `Default view permissions <../settings/index.html#default-anonymous-view-permission>`_ and `Default download permissions <../settings/index.html#default-anonymous-download-permission>`_ |
| 14 | + |
| 15 | +Single Resource permissions |
| 16 | +--------------------------- |
| 17 | + |
| 18 | +| Resource permissions can be generally set from the *resource detail* page. The following figure shows how to open the dialog to set permissions on a layer, the same concept applies to documents and maps. |
| 19 | +
|
| 20 | +.. figure:: img/change_layer_permissions.png |
| 21 | + :align: center |
| 22 | + :width: 500 |
| 23 | + |
| 24 | + *Change Layer Permissions* |
| 25 | + |
| 26 | +| The dialog for setting the permission allow a granular selection of each permission type to be applied for users and/or groups, each permission type is grouped in tabs that are expanded on click. |
| 27 | +| The text boxes have an autosuggest feature to help the compilation of user names and groups, it starts upon typing. |
| 28 | +
|
| 29 | +.. figure:: img/resource_permissions_dialogue.png |
| 30 | + :align: center |
| 31 | + :width: 500 |
| 32 | + |
| 33 | + *Resource Permission Dialogue* |
| 34 | + |
| 35 | +You can set the following types of permissions: |
| 36 | + |
| 37 | +* *View* allows to view the layer; |
| 38 | +* *Download* allows to download the layer; |
| 39 | +* *Change Metadata* allows to change the layer metadata; |
| 40 | +* *Edit Data* allows to change attributes and properties of the layers features; |
| 41 | +* *Edit Style* allows to change the layer style; |
| 42 | +* *Manage* allows to update, delete, change permissions, publish and unpublish the layer. |
| 43 | + |
| 44 | +.. warning:: When assigning permissions to a group, all the group members will have those permissions. Be careful in case of editing permissions. |
| 45 | + |
| 46 | +Bulk permissions |
| 47 | +---------------- |
| 48 | + |
| 49 | +| GeoNode offers the possibility to set permissions in bulk, this can be done in any *list* page. |
| 50 | +| In order to set bulk permissions you have first to fill the *shopping cart* with the resources you are interested with by clicking the :guilabel:`+` button on the resource snippet. |
| 51 | +
|
| 52 | +.. figure:: img/add_to_shopping_cart.png |
| 53 | + :align: center |
| 54 | + :width: 500 |
| 55 | + |
| 56 | + *Add Resource To Shopping Cart* |
| 57 | + |
| 58 | +| Once happy with the selection you can click the :guilabel:`Set Permissions` button under the shopping cart to open the permissions dialogue that will apply the chosen permission to all selected resources. |
| 59 | +
|
| 60 | +.. figure:: img/shopping_cart_permissions.png |
| 61 | + :align: center |
| 62 | + :width: 500 |
| 63 | + |
| 64 | + *Sopping Cart Permissions* |
0 commit comments