ffdn_common.features.user_permission.inc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * @file
  4. * ffdn_common.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function ffdn_common_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. 'authenticated user' => 'authenticated user',
  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. 'administrator' => 'administrator',
  25. 'contributeur' => 'contributeur',
  26. ),
  27. 'module' => 'node',
  28. );
  29. // Exported permission: 'delete own page content'.
  30. $permissions['delete own page content'] = array(
  31. 'name' => 'delete own page content',
  32. 'roles' => array(
  33. 'administrator' => 'administrator',
  34. 'authenticated user' => 'authenticated user',
  35. ),
  36. 'module' => 'node',
  37. );
  38. // Exported permission: 'edit any page content'.
  39. $permissions['edit any page content'] = array(
  40. 'name' => 'edit any page content',
  41. 'roles' => array(
  42. 'administrator' => 'administrator',
  43. 'contributeur' => 'contributeur',
  44. ),
  45. 'module' => 'node',
  46. );
  47. // Exported permission: 'edit own page content'.
  48. $permissions['edit own page content'] = array(
  49. 'name' => 'edit own page content',
  50. 'roles' => array(
  51. 'administrator' => 'administrator',
  52. 'authenticated user' => 'authenticated user',
  53. ),
  54. 'module' => 'node',
  55. );
  56. return $permissions;
  57. }