diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-07 17:02:09 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-07 17:02:09 +0100 |
commit | 57f53edd217b06031cfa003c620b553292ebd5e7 (patch) | |
tree | d1ed82e5aff8e771b37071911ca7ad32b24ba0d0 /gitano-admin/rules/createrepo.lace | |
parent | fb652434121c382fc622845ec714c2a14f2fde58 (diff) | |
download | trove-setup-57f53edd217b06031cfa003c620b553292ebd5e7.tar.gz |
Update ruleset
Diffstat (limited to 'gitano-admin/rules/createrepo.lace')
-rw-r--r-- | gitano-admin/rules/createrepo.lace | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gitano-admin/rules/createrepo.lace b/gitano-admin/rules/createrepo.lace index ef1bffc..045d7e7 100644 --- a/gitano-admin/rules/createrepo.lace +++ b/gitano-admin/rules/createrepo.lace @@ -1,15 +1,20 @@ +# _____ +# |_ _| __ _____ _____ +# | || '__/ _ \ \ / / _ \ +# | || | | (_) \ V / __/ +# |_||_| \___/ \_/ \___| +# +# Copyright 2012 Codethink Limited +# # Rules related to creating repositories # Administrators have already been permitted whatever they like -# so this is for non-admins. +# so this is for site-wide non-admins. -# Uncomment the following to allow repositories in personal/username/ +##PEOPLE_COMMENT##allow "Personal repo creation is okay" repo_is_personal -define repo_is_personal repository ~^people/${user}/ -allow "Personal repo creation is okay" repo_is_personal - -# Allow people in ctxxx-admins to create repositories under ctxxx -allow "Project admins may make project repositories" repo_has_project_code ct_admin +# Allow people in *-admins to create repositories under <foo> +allow "Project admins may make project repositories" repo_has_project_code project_admin # Otherwise the default is that non-admins can't create repositories deny "Repository creation is not permitted." |