You are here

45 calls to og_roles() in Organic groups 7.2

MigrateDestinationOGMembership::import in includes/migrate/plugins/destinations/og_membership.inc
Import a single membership.
OgAccess::testOgAccessEntity in ./og.test
Verify og_user_access_entity() returns correct value.
OgAccessModeratedGroup::setUp in og_access/og_access.test
Sets up a Drupal site for running functional and integration tests.
OgDefaultAccessFieldTestCase::testOgDefaultAccessField in ./og.test
Test groups with default access field enabled or disabled.
OgFieldAccessTestCase::testOgFieldAccess in og_field_access/og_field_access.test
Group with access field.
OgGroupAndUngroup::testGroupManagerDefaultRoles in ./og.test
Test granting deault role to group manager.
OgMigrate7000TestCase::testUser in ./og.test
Test user upgrade.
OgMigrate7200TestCase::testUpgrade in ./og.test
OgMigrateRoles::preImport in includes/migrate/7200/og_roles.migrate.inc
Copy all existing global roles to bundle-specific versions. Although similar processing is available through the og_roles_override() function, special handling is necessary to ensure that custom global roles are copied as well as default global roles.
OgMigrateUserRoles::preImport in includes/migrate/7200/og_user_roles.migrate.inc
Override Migration::preImport().
OgMigrateUserRoles::prepare in includes/migrate/7200/og_user_roles.migrate.inc
OgNodeAccess::testNodeUpdateAudienceField in ./og.test
Assert a user cannot assign an existing node to a group they don't have "create" permissions.
OgNodeAccess::testNoStrictAccessNodeCreate in ./og.test
Test non-strict access permissions for creating group node.
OgNodeAccess::testStrictAccessNodeCreate in ./og.test
Test access to node create on strict mode.
OgNonMembersPublishingContentTestCase::setUp in ./og.test
Sets up a Drupal site for running functional and integration tests.
OgPermissionsTestCase::testBlockedAndPendingRoles in ./og.test
Assert blocked and pending roles influence the allowed permissions.
OgPermissionsTestCase::testGrantRolesTwiceForPendingUsers in ./og.test
OgPermissionsTestCase::testOgUserRoleChangePermissions in ./og.test
Verify proper permission changes by og_role_change_permissions().
OgUiAdminPermissionsTestCase::testOgUiAdminPermissionsAccess in og_ui/og_ui.test
Check access to restricted permissions on the permissions edit page.
OgUiAdminPermissionsTestCase::testOgUiAdminTabAccess in og_ui/og_ui.test
Check access permissions to the group admin tab.
OgUiMigrate7000TestCase::testUpgrade in og_ui/og_ui.test
Test a successful upgrade.
OgUiPrivateGroupStatus::testMemberShipRequestStatus in og_ui/og_ui.test
The variable "og_ui_deny_subscribe_without_approval" responsible for determine that when the user ask to join to a private group their membership status will be pending. By default his value is true. The test has two parts:
OgUiSetRoles::prepareRow in og_ui/includes/migrate/7000/set_roles.inc
Default implementation of prepareRow(). This method is called from the source plugin upon first pulling the raw data from the source.
OgUiSubscribeTestCase::testOgUiSubscribe in og_ui/og_ui.test
Test subscribing to group.
OgUserCanPublishGroupContentTypeOnlyInGroup::setUp in ./og.test
Sets up a Drupal site for running functional and integration tests.
og_delete_user_roles_by_group in ./og.module
Delete all roles belonging to a group.
og_features_permission_features_rebuild in includes/og_features_permission.features.inc
Implements hook_features_rebuild().
og_features_role_features_export_options in includes/og_features_role.features.inc
Implements hook_features_export_options().
og_field_delete_instance in ./og.module
Implements field_delete_instance().
og_register_og_membership_state_validate in og_register/og_register.module
Validate handler; Set the state according to the "subscribe" permissions of the group.
og_roles_override in ./og.module
Create new roles, based on the default roles and permissions.
og_role_grant in ./og.module
Grant a group role to a user.
og_rules_grant_og_role in ./og.rules.inc
Action: Grant OG role.
og_rules_revoke_og_role in ./og.rules.inc
Action: Revoke OG role.
og_ui_access_bundle in og_ui/og_ui.module
Menu access; Check permissions per-bundle editing.
og_ui_access_group_permissions in og_ui/og_ui.module
Menu access; Check access and validate values for group permissions page.
og_ui_add_users in og_ui/og_ui.admin.inc
Add users to group form.
og_ui_admin_permissions_after_build in og_ui/og_ui.admin.inc
Helper function to disable the permissions checkboxes.
og_ui_admin_roles_validate in og_ui/og_ui.admin.inc
Validate handler; OG roles.
og_ui_admin_settings in og_ui/og_ui.admin.inc
Menu callback; Admin settings form.
og_ui_edit_membership in og_ui/og_ui.admin.inc
Add Edit membership form.
og_ui_user_access_group in og_ui/og_ui.module
Menu access; Check if entity is a group, and user has permission.
og_user_roles_action_form in includes/actions/user_roles.action.inc
_og_features_role_exists in includes/og_features_role.features.inc
Returns rid if role with $name exists, FALSE otherwise.
_og_ui_get_role_names in og_ui/og_ui.admin.inc
Helper function to get role names.