materio_administration.features.user_permission.inc 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <?php
  2. /**
  3. * @file
  4. * materio_administration.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function materio_administration_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'access administration menu'.
  12. $permissions['access administration menu'] = array(
  13. 'name' => 'access administration menu',
  14. 'roles' => array(
  15. 'administrator' => 'administrator',
  16. 'root' => 'root',
  17. ),
  18. 'module' => 'admin_menu',
  19. );
  20. // Exported permission: 'access workflow summary views'.
  21. $permissions['access workflow summary views'] = array(
  22. 'name' => 'access workflow summary views',
  23. 'roles' => array(
  24. 'root' => 'root',
  25. ),
  26. 'module' => 'workflow_views',
  27. );
  28. // Exported permission: 'administer workflow'.
  29. $permissions['administer workflow'] = array(
  30. 'name' => 'administer workflow',
  31. 'roles' => array(
  32. 'root' => 'root',
  33. ),
  34. 'module' => 'workflow_admin_ui',
  35. );
  36. // Exported permission: 'assign Adhérent role'.
  37. $permissions['assign Adhérent role'] = array(
  38. 'name' => 'assign Adhérent role',
  39. 'roles' => array(
  40. 'administrator' => 'administrator',
  41. 'root' => 'root',
  42. ),
  43. 'module' => 'role_delegation',
  44. );
  45. // Exported permission: 'assign Contact opérationnel role'.
  46. $permissions['assign Contact opérationnel role'] = array(
  47. 'name' => 'assign Contact opérationnel role',
  48. 'roles' => array(
  49. 'administrator' => 'administrator',
  50. 'root' => 'root',
  51. ),
  52. 'module' => 'role_delegation',
  53. );
  54. // Exported permission: 'assign Premium role'.
  55. $permissions['assign Premium role'] = array(
  56. 'name' => 'assign Premium role',
  57. 'roles' => array(
  58. 'administrator' => 'administrator',
  59. 'root' => 'root',
  60. ),
  61. 'module' => 'role_delegation',
  62. );
  63. // Exported permission: 'assign Student role'.
  64. $permissions['assign Student role'] = array(
  65. 'name' => 'assign Student role',
  66. 'roles' => array(
  67. 'administrator' => 'administrator',
  68. 'root' => 'root',
  69. ),
  70. 'module' => 'role_delegation',
  71. );
  72. // Exported permission: 'assign Unverified role'.
  73. $permissions['assign Unverified role'] = array(
  74. 'name' => 'assign Unverified role',
  75. 'roles' => array(
  76. 'administrator' => 'administrator',
  77. 'root' => 'root',
  78. ),
  79. 'module' => 'role_delegation',
  80. );
  81. // Exported permission: 'assign Utilisateur Alpha Tester role'.
  82. $permissions['assign Utilisateur Alpha Tester role'] = array(
  83. 'name' => 'assign Utilisateur Alpha Tester role',
  84. 'roles' => array(
  85. 'administrator' => 'administrator',
  86. 'root' => 'root',
  87. ),
  88. 'module' => 'role_delegation',
  89. );
  90. // Exported permission: 'assign Utilisateur role'.
  91. $permissions['assign Utilisateur role'] = array(
  92. 'name' => 'assign Utilisateur role',
  93. 'roles' => array(
  94. 'administrator' => 'administrator',
  95. 'root' => 'root',
  96. ),
  97. 'module' => 'role_delegation',
  98. );
  99. // Exported permission: 'assign administrator role'.
  100. $permissions['assign administrator role'] = array(
  101. 'name' => 'assign administrator role',
  102. 'roles' => array(
  103. 'administrator' => 'administrator',
  104. 'root' => 'root',
  105. ),
  106. 'module' => 'role_delegation',
  107. );
  108. // Exported permission: 'assign all roles'.
  109. $permissions['assign all roles'] = array(
  110. 'name' => 'assign all roles',
  111. 'roles' => array(
  112. 'root' => 'root',
  113. ),
  114. 'module' => 'role_delegation',
  115. );
  116. // Exported permission: 'display drupal links'.
  117. $permissions['display drupal links'] = array(
  118. 'name' => 'display drupal links',
  119. 'roles' => array(
  120. 'root' => 'root',
  121. ),
  122. 'module' => 'admin_menu',
  123. );
  124. // Exported permission: 'flush caches'.
  125. $permissions['flush caches'] = array(
  126. 'name' => 'flush caches',
  127. 'roles' => array(
  128. 'root' => 'root',
  129. ),
  130. 'module' => 'admin_menu',
  131. );
  132. // Exported permission: 'participate in workflow'.
  133. $permissions['participate in workflow'] = array(
  134. 'name' => 'participate in workflow',
  135. 'roles' => array(
  136. 'Adhérent' => 'Adhérent',
  137. 'Contact opérationnel' => 'Contact opérationnel',
  138. 'Premium' => 'Premium',
  139. 'Student' => 'Student',
  140. 'Unverified' => 'Unverified',
  141. 'Utilisateur' => 'Utilisateur',
  142. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  143. 'administrator' => 'administrator',
  144. 'anonymous user' => 'anonymous user',
  145. 'authenticated user' => 'authenticated user',
  146. 'root' => 'root',
  147. ),
  148. 'module' => 'workflow_admin_ui',
  149. );
  150. // Exported permission: 'schedule workflow transitions'.
  151. $permissions['schedule workflow transitions'] = array(
  152. 'name' => 'schedule workflow transitions',
  153. 'roles' => array(
  154. 'root' => 'root',
  155. ),
  156. 'module' => 'workflow',
  157. );
  158. // Exported permission: 'send newsletter'.
  159. $permissions['send newsletter'] = array(
  160. 'name' => 'send newsletter',
  161. 'roles' => array(
  162. 'administrator' => 'administrator',
  163. 'root' => 'root',
  164. ),
  165. 'module' => 'simplenews',
  166. );
  167. // Exported permission: 'show workflow state form'.
  168. $permissions['show workflow state form'] = array(
  169. 'name' => 'show workflow state form',
  170. 'roles' => array(),
  171. 'module' => 'workflow',
  172. );
  173. // Exported permission: 'subscribe to newsletters'.
  174. $permissions['subscribe to newsletters'] = array(
  175. 'name' => 'subscribe to newsletters',
  176. 'roles' => array(
  177. 'Adhérent' => 'Adhérent',
  178. 'Contact opérationnel' => 'Contact opérationnel',
  179. 'Premium' => 'Premium',
  180. 'Student' => 'Student',
  181. 'Utilisateur' => 'Utilisateur',
  182. 'administrator' => 'administrator',
  183. 'anonymous user' => 'anonymous user',
  184. 'root' => 'root',
  185. ),
  186. 'module' => 'simplenews',
  187. );
  188. // Exported permission: 'subscribe to simplenews category 6274'.
  189. $permissions['subscribe to simplenews category 6274'] = array(
  190. 'name' => 'subscribe to simplenews category 6274',
  191. 'roles' => array(
  192. 'anonymous user' => 'anonymous user',
  193. 'authenticated user' => 'authenticated user',
  194. ),
  195. 'module' => 'materio_user',
  196. );
  197. // Exported permission: 'subscribe to simplenews category 6374'.
  198. $permissions['subscribe to simplenews category 6374'] = array(
  199. 'name' => 'subscribe to simplenews category 6374',
  200. 'roles' => array(
  201. 'Adhérent' => 'Adhérent',
  202. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  203. 'administrator' => 'administrator',
  204. 'root' => 'root',
  205. ),
  206. 'module' => 'materio_user',
  207. );
  208. // Exported permission: 'subscribe to simplenews category 6585'.
  209. $permissions['subscribe to simplenews category 6585'] = array(
  210. 'name' => 'subscribe to simplenews category 6585',
  211. 'roles' => array(
  212. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  213. 'administrator' => 'administrator',
  214. 'root' => 'root',
  215. ),
  216. 'module' => 'materio_user',
  217. );
  218. return $permissions;
  219. }