constant OG_CONTENT_ACCESS_DEFAULT in Organic groups 7.2
Same name and namespace in other branches
- 7 og_access/og_access.module \OG_CONTENT_ACCESS_DEFAULT
Define group content access by it's group defaults.
5 uses of OG_CONTENT_ACCESS_DEFAULT
- OgAccessTestCase::testGroupContentAccessDefault in og_access/
og_access.test - Group with access field and group content with default definition.
- OgAccessTestCase::testOgStrictPrivate in og_access/
og_access.test - Test a group content that belongs to a private and non-private group results in a private group content.
- OgAccessTestCase::testSubGroupContentAccess in og_access/
og_access.test - Testing special case in which a group is also group content, and it is inside another group. When those groups are set to private (either when set specifically or given from the group defaults), it should be verified groups are accessible, even for…
- OgAccessUseGroupDefaultsTestCase::testCatchException in og_access/
og_access.test - Create a group content with group content access field when the group doesn't have an access field, and the "Use group defaults" is selected.
- og_access_node_access_records in og_access/
og_access.module - Implements hook_node_access_records().
File
- og_access/
og_access.module, line 27 - Enable access control for private and public groups and group content.
Code
define('OG_CONTENT_ACCESS_DEFAULT', 0);