chapitre.features.user_permission.inc 1.6 KB

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