summaryrefslogtreecommitdiff
path: root/config/defaults.yml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-12-13 14:10:41 +0100
committerAzul <azul@leap.se>2013-12-13 14:10:41 +0100
commit5ed00a63ea3da98e8dfaef88752f8afe851c81e9 (patch)
tree289200f264179c7da6412fe39f1827a53e899d01 /config/defaults.yml
parentb7db3e8f5d9a65ff3b83316bdd802dd40111c64d (diff)
make the possible actions for users and admins configurable
with tests
Diffstat (limited to 'config/defaults.yml')
-rw-r--r--config/defaults.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/defaults.yml b/config/defaults.yml
index 4530d47..283f406 100644
--- a/config/defaults.yml
+++ b/config/defaults.yml
@@ -40,6 +40,10 @@ common: &common
handle_blacklist: [certmaster, ssladmin, arin-admin, administrator, www-data, maildrop]
# handles that will be allowed despite being in /etc/passwd or rfc2142
handle_whitelist: []
+ # actions enabled in the account settings
+ # see /users/app/views/users/_edit.html.haml for a list.
+ user_actions: ['destroy_account']
+ admin_actions: ['change_pgp_key', 'change_service_level', 'destroy_account']
service_levels: &service_levels
service_levels: