materio_folders.features.user_permission.inc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * @file
  4. * materio_folders.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function materio_folders_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'create flag lists'.
  12. $permissions['create flag lists'] = array(
  13. 'name' => 'create flag lists',
  14. 'roles' => array(
  15. 'Adhérent' => 'Adhérent',
  16. 'Premium' => 'Premium',
  17. 'root' => 'root',
  18. ),
  19. 'module' => 'flag_lists',
  20. );
  21. // Exported permission: 'delete own flag lists'.
  22. $permissions['delete own flag lists'] = array(
  23. 'name' => 'delete own flag lists',
  24. 'roles' => array(
  25. 'Adhérent' => 'Adhérent',
  26. 'Premium' => 'Premium',
  27. 'root' => 'root',
  28. ),
  29. 'module' => 'flag_lists',
  30. );
  31. // Exported permission: 'edit own flag lists'.
  32. $permissions['edit own flag lists'] = array(
  33. 'name' => 'edit own flag lists',
  34. 'roles' => array(
  35. 'Adhérent' => 'Adhérent',
  36. 'Premium' => 'Premium',
  37. 'root' => 'root',
  38. ),
  39. 'module' => 'flag_lists',
  40. );
  41. // Exported permission: 'flag fl_template'.
  42. $permissions['flag fl_template'] = array(
  43. 'name' => 'flag fl_template',
  44. 'roles' => array(
  45. 'Adhérent' => 'Adhérent',
  46. 'Premium' => 'Premium',
  47. 'administrator' => 'administrator',
  48. 'root' => 'root',
  49. ),
  50. 'module' => 'flag',
  51. );
  52. // Exported permission: 'unflag fl_template'.
  53. $permissions['unflag fl_template'] = array(
  54. 'name' => 'unflag fl_template',
  55. 'roles' => array(
  56. 'Adhérent' => 'Adhérent',
  57. 'Premium' => 'Premium',
  58. 'administrator' => 'administrator',
  59. 'root' => 'root',
  60. ),
  61. 'module' => 'flag',
  62. );
  63. // Exported permission: 'view flag lists'.
  64. $permissions['view flag lists'] = array(
  65. 'name' => 'view flag lists',
  66. 'roles' => array(
  67. 'Adhérent' => 'Adhérent',
  68. 'Premium' => 'Premium',
  69. 'root' => 'root',
  70. ),
  71. 'module' => 'flag_lists',
  72. );
  73. return $permissions;
  74. }