{% load i18n %}

{% trans "Arches allows you to define user and user group permissions on a per-nodegroup basis. For example, you may want to hide the coordinates of a Resource from the public, or allow a certain group of users to only update the condition assessment section of a Resource Model. Rules like these are all enforced using permissions." %}

{% trans "Permission Levels" %}

{% trans "Read - Allows users to see this node group's card. If disallowed, the card/node group will be hidden from the map and resource reports." %}
{% trans "Create/Update - Allows users to create or edit instances of this node group. This provides the ability to let users edit some information about a resource, while be restricted from editing other information." %}
{% trans "Delete - Allows users to delete instances of this node group. Note, this is not the same as being allowed to delete an entire resource, permissions for which are not handled here." %}

{% trans "Non-Authenticated Users" %}

{% trans "You may notice that by default Arches comes with a 'Guest' group, as well as user named 'anonymous' who is a member of that group. Any non-authenticated user is treated as the 'anonymous' user. This means that all permissions applied to the Guest group will be given to anyone who views the website without logging in." %}

{% trans "Permissions Manager Interface" %}

{% trans "open in new tab" %}  

{% trans "1 - Groups/Accounts List This panel lists all of the groups and user accounts you have in your database. By default, Arches comes with a number of pre-made groups, but all of them have the same set of permissions. It is up to you define what permissions are attached to each group. As you can see, user accounts can be members of a group, and will inherit all of the permissions attached to that group. If desired, you can further define permissions for each user." %}
{% trans "To make new groups and user accounts you must use the Django admin interface, accessed at your_arches_site.com/admin." %}
{% trans "2 - Cards and Card Containers This panel lists all the node groups in this Resource Model organized by Cards and Card Containers. Clicking on a Card or Card Container will select all of its constituent nodes. Note that a symbolic representation is shown when a node is selected." %}
{% trans "3 - Permissions This panel summarizes all permissions that selected group or user account has for the selected node groups. Permissions are changed in the bottom portion of the panel (read 'Modifying Permissions' below for more)." %}

{% trans "Modifying Permissions" %}

{% trans "1 - Select a Group or User Begin by selecting the group or user account whose permissions you wish to modify. Note that symbols are added to the listed Card and Card Containers showing the existing permissions for that group." %}
{% trans "2 - Select one or more Cards or Card Containers In the middle panel, find the Card or Card Container that represents the node group you would like to modify. You will see a summary of all the nodes and permissions appear in the right-hand panel." %}
{% trans "3 - Use the checkboxes to define the changes you want to make These changes will be applied to all of the currently selected nodes." %}
{% trans "4 - Apply Permissions/Revert Permissions buttons Select 'Apply Permissions' to apply the selected permissions to the selected nodes. Select 'Revert Permissions' to restore the permissions that are defined on the user/group by default." %}

{% trans "Example - Hiding Location Information" %}

{% blocktrans %}

Below, the "Guest" group (please read the Non-Authenticated Users section above) has "read" permissions revoked for the Location card. This means that the general public would not be able to view any location information for resources made with this resource model.

{% endblocktrans %}

{% trans "click to view demonstration" %} {% trans "open in new tab" %}  

{% trans "Example - Allowing Crowdsourced Keywords" %}

{% blocktrans %} Below, the "Crowdsource Editor" group is given permission to create or edit the Keyword nodegroup. This means that users who are Crowdsource Editor members will be able to edit {{nav.title}} resources, but only the Keyword card will be visible to them. {% endblocktrans %}

{% trans "click to view demonstration" %} {% trans "open in new tab" %}