materio_publications.features.user_permission.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. 'module' => 'node',
  33. );
  34. // Exported permission: 'edit any publication content'.
  35. $permissions['edit any publication content'] = array(
  36. 'name' => 'edit any publication content',
  37. 'roles' => array(
  38. 'administrator' => 'administrator',
  39. 'root' => 'root',
  40. ),
  41. 'module' => 'node',
  42. );
  43. // Exported permission: 'edit own publication content'.
  44. $permissions['edit own publication content'] = array(
  45. 'name' => 'edit own publication content',
  46. 'roles' => array(),
  47. 'module' => 'node',
  48. );
  49. // Exported permission: 'show publication title'.
  50. $permissions['show publication title'] = array(
  51. 'name' => 'show publication title',
  52. 'roles' => array(),
  53. 'module' => 'materio_page_title',
  54. );
  55. return $permissions;
  56. }