summaryrefslogtreecommitdiff
path: root/gitano-admin/rules/destroyrepo.lace
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-06-17 10:06:13 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-06-17 11:12:35 +0000
commit54e3fbd49d10b70d04e03a646a494ec29a49ffc3 (patch)
treee7d955af0c4ea29f032709fe06f208509fccaa99 /gitano-admin/rules/destroyrepo.lace
parent5b0245acc1b5b1c520db847d70b1b81bafb4d0c2 (diff)
downloadtrove-setup-54e3fbd49d10b70d04e03a646a494ec29a49ffc3.tar.gz
Move gitano skeleton to /usr/share/trove-setup/
Diffstat (limited to 'gitano-admin/rules/destroyrepo.lace')
-rw-r--r--gitano-admin/rules/destroyrepo.lace20
1 files changed, 0 insertions, 20 deletions
diff --git a/gitano-admin/rules/destroyrepo.lace b/gitano-admin/rules/destroyrepo.lace
deleted file mode 100644
index 6e6b446..0000000
--- a/gitano-admin/rules/destroyrepo.lace
+++ /dev/null
@@ -1,20 +0,0 @@
-# _____
-# |_ _| __ _____ _____
-# | || '__/ _ \ \ / / _ \
-# | || | | (_) \ V / __/
-# |_||_| \___/ \_/ \___|
-#
-# Copyright 2012 Codethink Limited
-#
-# Rules related to the destroying of repositories
-
-# Owners may destroy personal repositories
-allow "You may destroy your own repositories" is_owner repo_is_personal
-
-# Project admins may destroy repos inside their projects
-allow "Project admins may destroy project repos" repo_is_local_project project_admin
-
-# Allow lorry to destroy repositories anywhere but the local project root
-allow "Lorry may destroy lorryable repos" is_lorry lorryable_repo
-
-deny "You may not destroy repositories you do not own"