We currently only define Aegir Account Manager and Aegir Client roles. I think it would be helpful to add a couple more default roles, such as Aegir Platform Manager (e.g.: platform creation and mass migration perms) , and Aegir Administrator (e.g. all and only aegir perms).
Comments
Comment #1
j0nathan commentedWe use a role named "aegir platform manager" which has those permissions:
hosting_clone module
hosting_migrate module
hosting_platform module
hosting_site module
hosting_task module
node module
search module
Comment #2
j0nathan commentedergonlogic,
What would be the use case of giving "Aegir Administrator" but not full administration of the drupal frontend of the aegir ? Is there any real use case actually ?
Comment #3
ergonlogicThere are plenty of 'administer' permissions that aren't assigned to any roles at the moment. For example, enabling and disabling hosting features, configuring queues, and so forth. This is very different from enabling/disabling arbitrary modules, switching themes or deleting users.
Comment #4
j0nathan commentedAll right, then so far we suggest 2 new roles:
Comment #5
ergonlogicI've added these roles to the install profile in the dev-1403208-new_roles branch, along with and update hook in the hosting module.
I've also removed the 'access all views' permission from clients, as I believe this would potentially bypass the permissions in the views themselves.
Comment #6
ergonlogicMerged in fd5e16a3835002040663a
Comment #7
ergonlogicHmm... While I'd merged the hook_update in hosting, I failed to do the same for the Hostmaster profile.
Merged in 233e8abd2a1b6.