##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r1:854a839a default
r5551:5b9b5ed2 default
Show More
repo-locking.rst
14 lines | 586 B | text/x-rst | RstLexer
project: added all source files and assets
r1 .. _repo-locking:
Repository Locking
------------------
Repository locking means that when a user pulls from a |repo|,
only a push by that user will unlock it. This allows an
Admin to pull from a |repo| and ensure that no changes can be introduced. You
need Admin access to the |repo| to enable
|repo| locking. To enable |repo| locking, use the following steps.
1. From the |RCE| interface, select :menuselection:`Admin --> Repositories`,
then :guilabel:`Edit` beside the |repo| you wish to lock.
2. From the left-hand pane, select
:menuselection:`Advanced --> Lock Repository`