diff options
Diffstat (limited to '000.yarn')
-rw-r--r-- | 000.yarn | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -72,6 +72,29 @@ Rough outline for ruleset published via the anonymous git prototocol. +The ruleset change to standard Gitano ruleset +============================================================================= + +The following lines added to `rules/project.lace` in the +`gitano-admin.git` repository implement the ruleset change, on top of +the standard Gitano ruleset. + + define repo_is_public config/public exact yes + allow "Everyone can read a public repo" op_read repo_is_public + + define user_is_repo_reader group exact ${config/readers} + allow "Readers may read" op_read user_is_repo_reader + + define user_is_repo_writer group exact ${config/writers} + allow "Writers may read and write" op_is_basic user_is_repo_writer + allow "Writers may update any branch" op_is_normal user_is_repo_writer + + define user_is_repo_guest group exact ${config/guests} + define ref_is_for_user ref prefix ${user}/ + allow "Guests may read and write" op_is_basic user_is_repo_guest + allow "Guests may update their own refs" op_is_normal user_is_repo_guest + + Use cases as automated test scenarios ============================================================================= |