<%= Sufia.config.owner_permission_levels.keys[0] %> | <%= label_tag :owner_access, class: "control-label" do %> Depositor (<%= link_to_profile depositor %>) <% end %> |
<%= permission_fields.select :access, Sufia.config.permission_levels, {}, class: 'form-control select_perm' %> | <%= permission_fields.label :agent_name, class: "control-label" do %> <%= user_display_name_and_key(permission_fields.object.agent_name) %> <% end %> |
Use the add button to give access to one <%=t('sufia.account_label') %> at a time (it will be added to the list below). Select the user, by name or <%= t('sufia.account_label') %>. Then select the access level you wish to grant and click on Add this <%= t('sufia.account_label') %> to complete adding the permission.
Use the add button to give access to one group at a time (it will be added to the list below).