summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/remoteconfigchecks.lace
blob: d951f7a16ffe08ebc7103eea8cf1de414d4715af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#  _____                   
# |_   _| __ _____   _____ 
#   | || '__/ _ \ \ / / _ \
#   | || | | (_) \ V /  __/
#   |_||_|  \___/ \_/ \___|
#
# Copyright 2012 Codethink Limited
#
# Remote config checks

# Owners may do any remote admin operation they choose
allow "Owners may remote-admin their repositories" is_owner repo_is_personal

# *-admins may remote-admin their project's repositories
allow "Project admins may admin project repos" repo_is_local_project project_admin

deny "You may not configure this repository remotely"