##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
auth: don't break hashing in case of user with empty password. In some cases such as LDAP user created via external scripts users might set the passwords to empty. The hashing uses the md5(password_hash) to store reference to detect password changes and forbid using the same password. In case of pure LDAP users this is not valid, and we shouldn't raise Errors in such case. This change makes it work for empty passwords now.

File last commit:

r1:854a839a default
r2203:8a18c3c3 default
Show More
setting-default-permissions.rst
69 lines | 2.3 KiB | text/x-rst | RstLexer
/ docs / admin / setting-default-permissions.rst

Setting Default Permissions

Default permissions allow you to configure |RCM| so that when a new |repo|, user group, or user is created their permissions are already defined. To set default permissions you need administrator privileges. See the following sections for setting up your permissions system:

  • :ref:`user-default-ref`
  • :ref:`user-group-default-ref`
  • :ref:`repo-default-ref`
  • :ref:`repo-group-default-ref`

Setting User defaults

To set default user permissions, use the following steps.

  1. From the |RCM| interface, select :menuselection:`Admin --> Permissions`
  2. Select the :guilabel:`Global` tab from the left-hand menu. The permissions set on this screen apply to users and user-groups across the whole instance.
  3. Save your changes

Setting User Group defaults

To set default user group permissions, use the following steps.

  1. From the |RCM| interface, select :menuselection:`Admin --> User groups`
  2. Select :guilabel:`Permissions`, and configure the default user permissions. All users will get these permissions unless individually set.
  3. Select :guilabel:`Global permissions`, and if you wish to configure non-standard behaviour, uncheck the :guilabel:`inherit from default settings` box and configure the desired permissions
  4. Save your changes

Setting Repository defaults

To set default |repo| permissions, use the following steps.

  1. From the |RCM| interface, select :menuselection:`Admin --> Permissions`
  2. Select the :guilabel:`Object` tab from the left-hand menu and set the |perm| permissions
  3. Save your changes

Setting Repository Group defaults

To set default Repository Group permissions, use the following steps.

  1. From the |RCM| interface, select :menuselection:`Admin --> Repository Groups`
  2. Select :guilabel:`Edit` beside the |repo| group you wish to configure
  3. On the left-hand pane select :guilabel:`Permissions`
  4. Set the default permissions for all |repos| created in this group
  5. Save your changes