page.features.user_permission.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. 'root' => 'root',
  50. ),
  51. 'module' => 'node',
  52. );
  53. return $permissions;
  54. }