-
Notifications
You must be signed in to change notification settings - Fork 0
/
os_blog.features.user_permission.inc
49 lines (42 loc) · 1.22 KB
/
os_blog.features.user_permission.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* @file
* os_blog.features.user_permission.inc
*/
/**
* Implements hook_user_default_permissions().
*/
function os_blog_user_default_permissions() {
$permissions = array();
// Exported permission: create blog_post content.
$permissions['create blog_post content'] = array(
'name' => 'create blog_post content',
'roles' => array(),
'module' => 'node',
);
// Exported permission: delete any blog_post content.
$permissions['delete any blog_post content'] = array(
'name' => 'delete any blog_post content',
'roles' => array(),
'module' => 'node',
);
// Exported permission: delete own blog_post content.
$permissions['delete own blog_post content'] = array(
'name' => 'delete own blog_post content',
'roles' => array(),
'module' => 'node',
);
// Exported permission: edit any blog_post content.
$permissions['edit any blog_post content'] = array(
'name' => 'edit any blog_post content',
'roles' => array(),
'module' => 'node',
);
// Exported permission: edit own blog_post content.
$permissions['edit own blog_post content'] = array(
'name' => 'edit own blog_post content',
'roles' => array(),
'module' => 'node',
);
return $permissions;
}