groups/modules/commons/commons_documents/commons_documents.features.og_features_permission.inc
Marton Kiss 8ac59801be Refactor commons build process
Update commons modules to release 7.12, and move the codebase under
modules/commons instead of constant fetching from remote repository.
The commons.make file removed so it is not required to rebuild
groups distribution.

Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
2014-05-28 15:58:33 +02:00

53 lines
1.4 KiB
PHP

<?php
/**
* @file
* commons_documents.features.og_features_permission.inc
*/
/**
* Implements hook_og_features_default_permissions().
*/
function commons_documents_og_features_default_permissions() {
$permissions = array();
// Exported og permission: 'node:group:create document content'
$permissions['node:group:create document content'] = array(
'roles' => array(
'administrator member' => 'administrator member',
'member' => 'member',
),
);
// Exported og permission: 'node:group:delete any document content'
$permissions['node:group:delete any document content'] = array(
'roles' => array(
'administrator member' => 'administrator member',
),
);
// Exported og permission: 'node:group:delete own document content'
$permissions['node:group:delete own document content'] = array(
'roles' => array(
'administrator member' => 'administrator member',
'member' => 'member',
),
);
// Exported og permission: 'node:group:update any document content'
$permissions['node:group:update any document content'] = array(
'roles' => array(
'administrator member' => 'administrator member',
),
);
// Exported og permission: 'node:group:update own document content'
$permissions['node:group:update own document content'] = array(
'roles' => array(
'administrator member' => 'administrator member',
'member' => 'member',
),
);
return $permissions;
}