materio_administration.features.user_permission.inc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  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 entity translation'.
  29. $permissions['administer entity translation'] = array(
  30. 'name' => 'administer entity translation',
  31. 'roles' => array(
  32. 'root' => 'root',
  33. ),
  34. 'module' => 'entity_translation',
  35. );
  36. // Exported permission: 'administer workflow'.
  37. $permissions['administer workflow'] = array(
  38. 'name' => 'administer workflow',
  39. 'roles' => array(
  40. 'root' => 'root',
  41. ),
  42. 'module' => 'workflow_admin_ui',
  43. );
  44. // Exported permission: 'assign Adhérent role'.
  45. $permissions['assign Adhérent role'] = array(
  46. 'name' => 'assign Adhérent role',
  47. 'roles' => array(
  48. 'administrator' => 'administrator',
  49. 'root' => 'root',
  50. ),
  51. 'module' => 'role_delegation',
  52. );
  53. // Exported permission: 'assign Contact opérationnel role'.
  54. $permissions['assign Contact opérationnel role'] = array(
  55. 'name' => 'assign Contact opérationnel role',
  56. 'roles' => array(
  57. 'administrator' => 'administrator',
  58. 'root' => 'root',
  59. ),
  60. 'module' => 'role_delegation',
  61. );
  62. // Exported permission: 'assign Premium role'.
  63. $permissions['assign Premium role'] = array(
  64. 'name' => 'assign Premium role',
  65. 'roles' => array(
  66. 'administrator' => 'administrator',
  67. 'root' => 'root',
  68. ),
  69. 'module' => 'role_delegation',
  70. );
  71. // Exported permission: 'assign Student role'.
  72. $permissions['assign Student role'] = array(
  73. 'name' => 'assign Student role',
  74. 'roles' => array(
  75. 'administrator' => 'administrator',
  76. 'root' => 'root',
  77. ),
  78. 'module' => 'role_delegation',
  79. );
  80. // Exported permission: 'assign Unverified role'.
  81. $permissions['assign Unverified role'] = array(
  82. 'name' => 'assign Unverified role',
  83. 'roles' => array(
  84. 'administrator' => 'administrator',
  85. 'root' => 'root',
  86. ),
  87. 'module' => 'role_delegation',
  88. );
  89. // Exported permission: 'assign Utilisateur Alpha Tester role'.
  90. $permissions['assign Utilisateur Alpha Tester role'] = array(
  91. 'name' => 'assign Utilisateur Alpha Tester role',
  92. 'roles' => array(
  93. 'administrator' => 'administrator',
  94. 'root' => 'root',
  95. ),
  96. 'module' => 'role_delegation',
  97. );
  98. // Exported permission: 'assign Utilisateur role'.
  99. $permissions['assign Utilisateur role'] = array(
  100. 'name' => 'assign Utilisateur role',
  101. 'roles' => array(
  102. 'administrator' => 'administrator',
  103. 'root' => 'root',
  104. ),
  105. 'module' => 'role_delegation',
  106. );
  107. // Exported permission: 'assign administrator role'.
  108. $permissions['assign administrator role'] = array(
  109. 'name' => 'assign administrator role',
  110. 'roles' => array(
  111. 'administrator' => 'administrator',
  112. 'root' => 'root',
  113. ),
  114. 'module' => 'role_delegation',
  115. );
  116. // Exported permission: 'assign all roles'.
  117. $permissions['assign all roles'] = array(
  118. 'name' => 'assign all roles',
  119. 'roles' => array(
  120. 'root' => 'root',
  121. ),
  122. 'module' => 'role_delegation',
  123. );
  124. // Exported permission: 'display drupal links'.
  125. $permissions['display drupal links'] = array(
  126. 'name' => 'display drupal links',
  127. 'roles' => array(
  128. 'root' => 'root',
  129. ),
  130. 'module' => 'admin_menu',
  131. );
  132. // Exported permission: 'edit node original values'.
  133. $permissions['edit node original values'] = array(
  134. 'name' => 'edit node original values',
  135. 'roles' => array(
  136. 'administrator' => 'administrator',
  137. 'root' => 'root',
  138. ),
  139. 'module' => 'entity_translation',
  140. );
  141. // Exported permission: 'edit node translation shared fields'.
  142. $permissions['edit node translation shared fields'] = array(
  143. 'name' => 'edit node translation shared fields',
  144. 'roles' => array(
  145. 'administrator' => 'administrator',
  146. 'root' => 'root',
  147. ),
  148. 'module' => 'entity_translation',
  149. );
  150. // Exported permission: 'edit original values'.
  151. $permissions['edit original values'] = array(
  152. 'name' => 'edit original values',
  153. 'roles' => array(
  154. 'administrator' => 'administrator',
  155. 'root' => 'root',
  156. ),
  157. 'module' => 'entity_translation',
  158. );
  159. // Exported permission: 'edit taxonomy_term original values'.
  160. $permissions['edit taxonomy_term original values'] = array(
  161. 'name' => 'edit taxonomy_term original values',
  162. 'roles' => array(
  163. 'administrator' => 'administrator',
  164. 'root' => 'root',
  165. ),
  166. 'module' => 'entity_translation',
  167. );
  168. // Exported permission: 'edit taxonomy_term translation shared fields'.
  169. $permissions['edit taxonomy_term translation shared fields'] = array(
  170. 'name' => 'edit taxonomy_term translation shared fields',
  171. 'roles' => array(
  172. 'administrator' => 'administrator',
  173. 'root' => 'root',
  174. ),
  175. 'module' => 'entity_translation',
  176. );
  177. // Exported permission: 'edit translation shared fields'.
  178. $permissions['edit translation shared fields'] = array(
  179. 'name' => 'edit translation shared fields',
  180. 'roles' => array(
  181. 'administrator' => 'administrator',
  182. 'root' => 'root',
  183. ),
  184. 'module' => 'entity_translation',
  185. );
  186. // Exported permission: 'flush caches'.
  187. $permissions['flush caches'] = array(
  188. 'name' => 'flush caches',
  189. 'roles' => array(
  190. 'root' => 'root',
  191. ),
  192. 'module' => 'admin_menu',
  193. );
  194. // Exported permission: 'participate in workflow'.
  195. $permissions['participate in workflow'] = array(
  196. 'name' => 'participate in workflow',
  197. 'roles' => array(
  198. 'Adhérent' => 'Adhérent',
  199. 'Contact opérationnel' => 'Contact opérationnel',
  200. 'Premium' => 'Premium',
  201. 'Student' => 'Student',
  202. 'Unverified' => 'Unverified',
  203. 'Utilisateur' => 'Utilisateur',
  204. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  205. 'administrator' => 'administrator',
  206. 'anonymous user' => 'anonymous user',
  207. 'authenticated user' => 'authenticated user',
  208. 'root' => 'root',
  209. ),
  210. 'module' => 'workflow_admin_ui',
  211. );
  212. // Exported permission: 'schedule workflow transitions'.
  213. $permissions['schedule workflow transitions'] = array(
  214. 'name' => 'schedule workflow transitions',
  215. 'roles' => array(
  216. 'root' => 'root',
  217. ),
  218. 'module' => 'workflow',
  219. );
  220. // Exported permission: 'send newsletter'.
  221. $permissions['send newsletter'] = array(
  222. 'name' => 'send newsletter',
  223. 'roles' => array(
  224. 'administrator' => 'administrator',
  225. 'root' => 'root',
  226. ),
  227. 'module' => 'simplenews',
  228. );
  229. // Exported permission: 'show workflow state form'.
  230. $permissions['show workflow state form'] = array(
  231. 'name' => 'show workflow state form',
  232. 'roles' => array(
  233. 'root' => 'root',
  234. ),
  235. 'module' => 'workflow',
  236. );
  237. // Exported permission: 'subscribe to newsletters'.
  238. $permissions['subscribe to newsletters'] = array(
  239. 'name' => 'subscribe to newsletters',
  240. 'roles' => array(
  241. 'Adhérent' => 'Adhérent',
  242. 'Contact opérationnel' => 'Contact opérationnel',
  243. 'Premium' => 'Premium',
  244. 'Student' => 'Student',
  245. 'Utilisateur' => 'Utilisateur',
  246. 'administrator' => 'administrator',
  247. 'anonymous user' => 'anonymous user',
  248. 'root' => 'root',
  249. ),
  250. 'module' => 'simplenews',
  251. );
  252. // Exported permission: 'subscribe to simplenews category 6274'.
  253. $permissions['subscribe to simplenews category 6274'] = array(
  254. 'name' => 'subscribe to simplenews category 6274',
  255. 'roles' => array(
  256. 'anonymous user' => 'anonymous user',
  257. 'authenticated user' => 'authenticated user',
  258. ),
  259. 'module' => 'materio_user',
  260. );
  261. // Exported permission: 'subscribe to simplenews category 6374'.
  262. $permissions['subscribe to simplenews category 6374'] = array(
  263. 'name' => 'subscribe to simplenews category 6374',
  264. 'roles' => array(
  265. 'Adhérent' => 'Adhérent',
  266. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  267. 'administrator' => 'administrator',
  268. 'root' => 'root',
  269. ),
  270. 'module' => 'materio_user',
  271. );
  272. // Exported permission: 'subscribe to simplenews category 6585'.
  273. $permissions['subscribe to simplenews category 6585'] = array(
  274. 'name' => 'subscribe to simplenews category 6585',
  275. 'roles' => array(
  276. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  277. 'administrator' => 'administrator',
  278. 'root' => 'root',
  279. ),
  280. 'module' => 'materio_user',
  281. );
  282. // Exported permission: 'toggle field translatability'.
  283. $permissions['toggle field translatability'] = array(
  284. 'name' => 'toggle field translatability',
  285. 'roles' => array(
  286. 'root' => 'root',
  287. ),
  288. 'module' => 'entity_translation',
  289. );
  290. // Exported permission: 'translate any entity'.
  291. $permissions['translate any entity'] = array(
  292. 'name' => 'translate any entity',
  293. 'roles' => array(
  294. 'administrator' => 'administrator',
  295. 'root' => 'root',
  296. ),
  297. 'module' => 'entity_translation',
  298. );
  299. // Exported permission: 'translate node entities'.
  300. $permissions['translate node entities'] = array(
  301. 'name' => 'translate node entities',
  302. 'roles' => array(
  303. 'administrator' => 'administrator',
  304. 'root' => 'root',
  305. ),
  306. 'module' => 'entity_translation',
  307. );
  308. // Exported permission: 'translate taxonomy_term entities'.
  309. $permissions['translate taxonomy_term entities'] = array(
  310. 'name' => 'translate taxonomy_term entities',
  311. 'roles' => array(
  312. 'administrator' => 'administrator',
  313. 'root' => 'root',
  314. ),
  315. 'module' => 'entity_translation',
  316. );
  317. return $permissions;
  318. }