summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/destroyrepo.lace
blob: fb2d494c55c569a9ae15c82d6b638d503cf1411f (plain)
1
2
3
4
5
6
7
8
9
# Rules related to the destroying of repositories

# For now, owners may destroy repositories
allow "You may destroy your own repositories" is_owner

# Admins may destroy repos inside their projects
allow "Project admins may destroy project repos" repo_has_project_code ct_admins

deny "You may not destroy repositories you do not own"