You are here

function og_get_global_permissions in Organic groups 7

Get global permissions.

Return value

Array keyed with the anonymous, authenticated and administror and the permissions that should be enabled by default.

1 call to og_get_global_permissions()
og_roles_override in ./og.module
Create new roles, based on the default roles and permissions.

File

./og.module, line 2922
Enable users to create and manage groups with roles and permissions.

Code

function og_get_global_permissions() {
  $roles = og_get_global_roles();
  $perms = og_role_permissions($roles);
  return $perms;
}