summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/createrepo.lace
blob: 045d7e7c205a193ef14d7a6e0863df33acdf1769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#  _____                   
# |_   _| __ _____   _____ 
#   | || '__/ _ \ \ / / _ \
#   | || | | (_) \ V /  __/
#   |_||_|  \___/ \_/ \___|
#
# Copyright 2012 Codethink Limited
#
# Rules related to creating repositories

# Administrators have already been permitted whatever they like
# so this is for site-wide non-admins.

##PEOPLE_COMMENT##allow "Personal repo creation is okay" repo_is_personal

# 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."