Use all_roles instead of roles when calculating all_permissions