materio_publications.features.user_permission.inc 1.8 KB

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