{# Copyright (C) 2006-2021 Edgewall Software This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at https://trac.edgewall.org/wiki/TracLicense. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at https://trac.edgewall.org/. #} # extends 'admin.html' # block admintitle ${_("Permissions")} # endblock admintitle # block head ${ super() } # endblock head # block adminpanel

${_("Manage Permissions and Groups")}

# if 'PERMISSION_GRANT' in perm('admin', 'general/perm'):
${jmacros.form_token_input()}
${_("Grant Permission:")}

# trans Grant permission for an action to a subject, which can be either a user or a group. # endtrans

${jmacros.form_token_input()}
${_("Copy Permissions:")}

# trans Copy all of subject's permissions to target. Subject and target can be either users or groups. # endtrans

${jmacros.form_token_input()}
${_("Add Subject to Group:")}

# trans Add a user or group to an existing permission group. # endtrans

# endif # with # set can_revoke = 'PERMISSION_REVOKE' in perm('admin', 'general/perm')
${jmacros.form_token_input()}

${_("Permissions")}

# for subject, subject_actions in perms|dictsort(true): # endfor # if not perms: # endif
${_("Subject")}${_("Action")}
${subject} # for action in subject_actions: # endfor
${_("No permissions")}

${_("Group Membership")}

# for group, group_subjects in groups|dictsort(true): # endfor # if not groups: # endif
${_("Group")}${_("Subject")}
${group} # for subject in group_subjects: # endfor
${_("No group memberships")}
# if can_revoke:
# endif
# endwith

# trans Note that Subject or Group names can't be all upper-case, as that is reserved for permission names. # endtrans

# call(note, page) jmacros.wikihelp('TracPermissions'): # trans note, page ${note} See ${page} for help on using permissions. # endtrans # endcall
# endblock adminpanel