Commit c1434976 authored by ergonlogic's avatar ergonlogic

Remove 'access all views' permission from aegir clients.

parent b4a21f29
......@@ -226,7 +226,7 @@ function hostmaster_task_finalize() {
install_add_permissions(install_get_rid('authenticated user'), array('access disabled sites'));
install_add_role('aegir client');
// @todo we may need to have a hook here to consider plugins
install_add_permissions(install_get_rid('aegir client'), array('access content', 'access all views', 'edit own client', 'view client', 'create site', 'delete site', 'view site', 'create backup task', 'create delete task', 'create disable task', 'create enable task', 'create restore task', 'view own tasks', 'view task', 'cancel own tasks'));
install_add_permissions(install_get_rid('aegir client'), array('access content', 'edit own client', 'view client', 'create site', 'delete site', 'view site', 'create backup task', 'create delete task', 'create disable task', 'create enable task', 'create restore task', 'view own tasks', 'view task', 'cancel own tasks'));
install_add_role('aegir account manager');
install_add_permissions(install_get_rid('aegir account manager'), array('create client', 'edit client users', 'view client'));
install_add_role('aegir platform manager');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment