page.features.user_permission.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * @file
  4. * page.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function page_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'create page content'.
  12. $permissions['create page content'] = array(
  13. 'name' => 'create page content',
  14. 'roles' => array(
  15. 'administrator' => 'administrator',
  16. 'root' => 'root',
  17. ),
  18. 'module' => 'node',
  19. );
  20. // Exported permission: 'delete any page content'.
  21. $permissions['delete any page content'] = array(
  22. 'name' => 'delete any page content',
  23. 'roles' => array(
  24. 'root' => 'root',
  25. ),
  26. 'module' => 'node',
  27. );
  28. // Exported permission: 'delete own page content'.
  29. $permissions['delete own page content'] = array(
  30. 'name' => 'delete own page content',
  31. 'roles' => array(
  32. 'root' => 'root',
  33. ),
  34. 'module' => 'node',
  35. );
  36. // Exported permission: 'edit any page content'.
  37. $permissions['edit any page content'] = array(
  38. 'name' => 'edit any page content',
  39. 'roles' => array(
  40. 'administrator' => 'administrator',
  41. 'root' => 'root',
  42. ),
  43. 'module' => 'node',
  44. );
  45. // Exported permission: 'edit own page content'.
  46. $permissions['edit own page content'] = array(
  47. 'name' => 'edit own page content',
  48. 'roles' => array(
  49. 'administrator' => 'administrator',
  50. 'root' => 'root',
  51. ),
  52. 'module' => 'node',
  53. );
  54. return $permissions;
  55. }