##// END OF EJS Templates
git: use force fetch and update for target ref. This solves a case...
git: use force fetch and update for target ref. This solves a case when in PRs a target is force updated and is out of sync. Before we used a pull which --ff-only fails obviosly because two are out of sync. This change uses new logic that resets the target branch according to the source target branch allowing smooth merge simulation.

File last commit:

r1:854a839a default
r2784:e8c62649 default
Show More
setting-default-permissions.rst
69 lines | 2.3 KiB | text/x-rst | RstLexer
/ docs / admin / setting-default-permissions.rst
project: added all source files and assets
r1 .. _permissions-default-ref:
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`
.. _user-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
.. _user-group-default-ref:
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
.. _repo-default-ref:
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
.. _repo-group-default-ref:
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
.. |perm| replace:: :guilabel:`None, Read, Write, or Admin`