LARA

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
laragit [2015/01/20 11:59]
wikiadmin [Setting Permissions]
laragit [2015/01/20 16:26]
wikiadmin [Setting Permissions]
Line 104: Line 104:
     # also need to execute it.     # also need to execute it.
     #     #
-    # The creator of this repository is YOUR_SCIPER_HERE.+    # The creator of this repository is YOUR_USERNAME.
     ​     ​
     thisrepo="​whatever/​you-just-cloned"​     thisrepo="​whatever/​you-just-cloned"​
     ​     ​
-    tail -"​$0"​ | ssh git@laragit.epfl.ch perms ${thisrepo}+    tail -"​$0"​ | ssh git@laragit.epfl.ch perms ${thisrepo}
     ​     ​
     exit $_     exit $_
     ​     ​
-    # **Do not** add new lines after the following ​two+    # **Do not** add new lines after the following ​three! 
-    WRITERS kuncak ​YOUR_SCIPER_HERE+    OWNERS ​ kuncak fsalvi YOUR_USERNAME 
 +    WRITERS kuncak ​YOUR_USERNAME
     READERS @lara     READERS @lara
  
Line 120: Line 121:
   - When the creator of the repository executes it, it updates the rights.   - When the creator of the repository executes it, it updates the rights.
  
-As you would expect, ''​WRITERS''​ can commit to the repository, ''​READERS''​ can only read from it. (Note that it's fine to have an empty list of ''​READERS'',​ for instance.) Use ''​@lara''​ as a shorthand for your group of comrades.+As you would expect, ''​WRITERS''​ can commit to the repository, ''​READERS''​ can only read from it. (Note that it's fine to have an empty list of ''​READERS'',​ for instance.) Use ''​@lara''​ as a shorthand for your group of comrades. ''​OWNERS''​ is a new role which allow to set the permissions to the repository (eg to allow other people to add new commiters).
  
  
  
-If it doesn'​t exist, you can get the permissions with:+If the file doesn'​t exist, you can get the permissions with:
  
     ssh git@laragit.epfl.ch perms -l <​repository>​     ssh git@laragit.epfl.ch perms -l <​repository>​