You are here

constant OA_ACCESS_DEFAULT_PERMISSION in Open Atrium Core 7.2

Permission type -- The default permission type.

Allows permission to be assigned to a Team or Group and doesn't allow an 'All' option. This is most useful for permissions where we are only removing permission, not adding it, for example, oa_workbench_access.

See also

oa_workbench_access

5 uses of OA_ACCESS_DEFAULT_PERMISSION
oa_access_get_permissions in modules/oa_access/oa_access.module
Get all permissions defined by implementing modules.
oa_access_test_all_oa_access_permission in modules/oa_access/tests/oa_access_test_all/oa_access_test_all.module
Implements hook_oa_access_permission().
oa_access_test_oa_access_permission in modules/oa_access/tests/oa_access_test/oa_access_test.module
Implements hook_oa_access_permission().
OpenAtriumAccessAllTestCase::testModuleEnableAndInitialize in modules/oa_access/tests/oa_access.test
OpenAtriumAccessTestCase::testGetPermissions in modules/oa_access/tests/oa_access.test

File

modules/oa_access/oa_access.module, line 63
Code for the Open Atrium Access module.

Code

define('OA_ACCESS_DEFAULT_PERMISSION', OA_ACCESS_TEAM_PERMISSION | OA_ACCESS_GROUP_PERMISSION);