clameurs.features.user_permission.inc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. <?php
  2. /**
  3. * @file
  4. * clameurs.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function clameurs_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'add JS snippets for piwik'.
  12. $permissions['add JS snippets for piwik'] = array(
  13. 'name' => 'add JS snippets for piwik',
  14. 'roles' => array(
  15. 'root' => 'root',
  16. ),
  17. 'module' => 'piwik',
  18. );
  19. // Exported permission: 'administer advanced pane settings'.
  20. $permissions['administer advanced pane settings'] = array(
  21. 'name' => 'administer advanced pane settings',
  22. 'roles' => array(
  23. 'root' => 'root',
  24. ),
  25. 'module' => 'panels',
  26. );
  27. // Exported permission: 'administer cer settings'.
  28. $permissions['administer cer settings'] = array(
  29. 'name' => 'administer cer settings',
  30. 'roles' => array(
  31. 'root' => 'root',
  32. ),
  33. 'module' => 'cer',
  34. );
  35. // Exported permission: 'administer custom content'.
  36. $permissions['administer custom content'] = array(
  37. 'name' => 'administer custom content',
  38. 'roles' => array(
  39. 'root' => 'root',
  40. ),
  41. 'module' => 'ctools_custom_content',
  42. );
  43. // Exported permission: 'administer login destination settings'.
  44. $permissions['administer login destination settings'] = array(
  45. 'name' => 'administer login destination settings',
  46. 'roles' => array(
  47. 'root' => 'root',
  48. ),
  49. 'module' => 'login_destination',
  50. );
  51. // Exported permission: 'administer mini panels'.
  52. $permissions['administer mini panels'] = array(
  53. 'name' => 'administer mini panels',
  54. 'roles' => array(
  55. 'root' => 'root',
  56. ),
  57. 'module' => 'panels_mini',
  58. );
  59. // Exported permission: 'administer pane access'.
  60. $permissions['administer pane access'] = array(
  61. 'name' => 'administer pane access',
  62. 'roles' => array(
  63. 'root' => 'root',
  64. ),
  65. 'module' => 'panels',
  66. );
  67. // Exported permission: 'administer panels display styles'.
  68. $permissions['administer panels display styles'] = array(
  69. 'name' => 'administer panels display styles',
  70. 'roles' => array(
  71. 'root' => 'root',
  72. ),
  73. 'module' => 'panels',
  74. );
  75. // Exported permission: 'administer panels layouts'.
  76. $permissions['administer panels layouts'] = array(
  77. 'name' => 'administer panels layouts',
  78. 'roles' => array(
  79. 'root' => 'root',
  80. ),
  81. 'module' => 'panels',
  82. );
  83. // Exported permission: 'administer panels pane styles'.
  84. $permissions['administer panels pane styles'] = array(
  85. 'name' => 'administer panels pane styles',
  86. 'roles' => array(
  87. 'root' => 'root',
  88. ),
  89. 'module' => 'panels',
  90. );
  91. // Exported permission: 'administer panels region styles'.
  92. $permissions['administer panels region styles'] = array(
  93. 'name' => 'administer panels region styles',
  94. 'roles' => array(
  95. 'root' => 'root',
  96. ),
  97. 'module' => 'panels',
  98. );
  99. // Exported permission: 'administer panels styles'.
  100. $permissions['administer panels styles'] = array(
  101. 'name' => 'administer panels styles',
  102. 'roles' => array(
  103. 'root' => 'root',
  104. ),
  105. 'module' => 'panels',
  106. );
  107. // Exported permission: 'administer piwik'.
  108. $permissions['administer piwik'] = array(
  109. 'name' => 'administer piwik',
  110. 'roles' => array(
  111. 'root' => 'root',
  112. ),
  113. 'module' => 'piwik',
  114. );
  115. // Exported permission: 'bypass access in place editing'.
  116. $permissions['bypass access in place editing'] = array(
  117. 'name' => 'bypass access in place editing',
  118. 'roles' => array(),
  119. 'module' => 'panels',
  120. );
  121. // Exported permission: 'change layouts in place editing'.
  122. $permissions['change layouts in place editing'] = array(
  123. 'name' => 'change layouts in place editing',
  124. 'roles' => array(),
  125. 'module' => 'panels',
  126. );
  127. // Exported permission: 'clone node'.
  128. $permissions['clone node'] = array(
  129. 'name' => 'clone node',
  130. 'roles' => array(
  131. 'root' => 'root',
  132. ),
  133. 'module' => 'clone',
  134. );
  135. // Exported permission: 'clone own nodes'.
  136. $permissions['clone own nodes'] = array(
  137. 'name' => 'clone own nodes',
  138. 'roles' => array(
  139. 'root' => 'root',
  140. ),
  141. 'module' => 'clone',
  142. );
  143. // Exported permission: 'create documentair content'.
  144. $permissions['create documentair content'] = array(
  145. 'name' => 'create documentair content',
  146. 'roles' => array(
  147. 'administrator' => 'administrator',
  148. 'root' => 'root',
  149. ),
  150. 'module' => 'node',
  151. );
  152. // Exported permission: 'create episode content'.
  153. $permissions['create episode content'] = array(
  154. 'name' => 'create episode content',
  155. 'roles' => array(
  156. 'administrator' => 'administrator',
  157. 'root' => 'root',
  158. ),
  159. 'module' => 'node',
  160. );
  161. // Exported permission: 'create field_poid'.
  162. $permissions['create field_poid'] = array(
  163. 'name' => 'create field_poid',
  164. 'roles' => array(
  165. 'administrator' => 'administrator',
  166. 'root' => 'root',
  167. ),
  168. 'module' => 'field_permissions',
  169. );
  170. // Exported permission: 'create mini panels'.
  171. $permissions['create mini panels'] = array(
  172. 'name' => 'create mini panels',
  173. 'roles' => array(
  174. 'root' => 'root',
  175. ),
  176. 'module' => 'panels_mini',
  177. );
  178. // Exported permission: 'create thematique content'.
  179. $permissions['create thematique content'] = array(
  180. 'name' => 'create thematique content',
  181. 'roles' => array(
  182. 'administrator' => 'administrator',
  183. 'root' => 'root',
  184. ),
  185. 'module' => 'node',
  186. );
  187. // Exported permission: 'delete any documentair content'.
  188. $permissions['delete any documentair content'] = array(
  189. 'name' => 'delete any documentair content',
  190. 'roles' => array(
  191. 'root' => 'root',
  192. ),
  193. 'module' => 'node',
  194. );
  195. // Exported permission: 'delete any episode content'.
  196. $permissions['delete any episode content'] = array(
  197. 'name' => 'delete any episode content',
  198. 'roles' => array(
  199. 'root' => 'root',
  200. ),
  201. 'module' => 'node',
  202. );
  203. // Exported permission: 'delete any thematique content'.
  204. $permissions['delete any thematique content'] = array(
  205. 'name' => 'delete any thematique content',
  206. 'roles' => array(
  207. 'root' => 'root',
  208. ),
  209. 'module' => 'node',
  210. );
  211. // Exported permission: 'delete own documentair content'.
  212. $permissions['delete own documentair content'] = array(
  213. 'name' => 'delete own documentair content',
  214. 'roles' => array(
  215. 'root' => 'root',
  216. ),
  217. 'module' => 'node',
  218. );
  219. // Exported permission: 'delete own episode content'.
  220. $permissions['delete own episode content'] = array(
  221. 'name' => 'delete own episode content',
  222. 'roles' => array(
  223. 'root' => 'root',
  224. ),
  225. 'module' => 'node',
  226. );
  227. // Exported permission: 'delete own thematique content'.
  228. $permissions['delete own thematique content'] = array(
  229. 'name' => 'delete own thematique content',
  230. 'roles' => array(
  231. 'root' => 'root',
  232. ),
  233. 'module' => 'node',
  234. );
  235. // Exported permission: 'edit any documentair content'.
  236. $permissions['edit any documentair content'] = array(
  237. 'name' => 'edit any documentair content',
  238. 'roles' => array(
  239. 'administrator' => 'administrator',
  240. 'root' => 'root',
  241. ),
  242. 'module' => 'node',
  243. );
  244. // Exported permission: 'edit any episode content'.
  245. $permissions['edit any episode content'] = array(
  246. 'name' => 'edit any episode content',
  247. 'roles' => array(
  248. 'administrator' => 'administrator',
  249. 'root' => 'root',
  250. ),
  251. 'module' => 'node',
  252. );
  253. // Exported permission: 'edit any thematique content'.
  254. $permissions['edit any thematique content'] = array(
  255. 'name' => 'edit any thematique content',
  256. 'roles' => array(
  257. 'administrator' => 'administrator',
  258. 'root' => 'root',
  259. ),
  260. 'module' => 'node',
  261. );
  262. // Exported permission: 'edit field_poid'.
  263. $permissions['edit field_poid'] = array(
  264. 'name' => 'edit field_poid',
  265. 'roles' => array(
  266. 'administrator' => 'administrator',
  267. 'root' => 'root',
  268. ),
  269. 'module' => 'field_permissions',
  270. );
  271. // Exported permission: 'edit own documentair content'.
  272. $permissions['edit own documentair content'] = array(
  273. 'name' => 'edit own documentair content',
  274. 'roles' => array(
  275. 'administrator' => 'administrator',
  276. 'root' => 'root',
  277. ),
  278. 'module' => 'node',
  279. );
  280. // Exported permission: 'edit own episode content'.
  281. $permissions['edit own episode content'] = array(
  282. 'name' => 'edit own episode content',
  283. 'roles' => array(
  284. 'administrator' => 'administrator',
  285. 'root' => 'root',
  286. ),
  287. 'module' => 'node',
  288. );
  289. // Exported permission: 'edit own field_poid'.
  290. $permissions['edit own field_poid'] = array(
  291. 'name' => 'edit own field_poid',
  292. 'roles' => array(
  293. 'administrator' => 'administrator',
  294. 'root' => 'root',
  295. ),
  296. 'module' => 'field_permissions',
  297. );
  298. // Exported permission: 'edit own thematique content'.
  299. $permissions['edit own thematique content'] = array(
  300. 'name' => 'edit own thematique content',
  301. 'roles' => array(
  302. 'administrator' => 'administrator',
  303. 'root' => 'root',
  304. ),
  305. 'module' => 'node',
  306. );
  307. // Exported permission: 'edit workflow comment'.
  308. $permissions['edit workflow comment'] = array(
  309. 'name' => 'edit workflow comment',
  310. 'roles' => array(),
  311. 'module' => 'workflow',
  312. );
  313. // Exported permission: 'opt-in or out of tracking'.
  314. $permissions['opt-in or out of tracking'] = array(
  315. 'name' => 'opt-in or out of tracking',
  316. 'roles' => array(
  317. 'root' => 'root',
  318. ),
  319. 'module' => 'piwik',
  320. );
  321. // Exported permission: 'use PHP for tracking visibility'.
  322. $permissions['use PHP for tracking visibility'] = array(
  323. 'name' => 'use PHP for tracking visibility',
  324. 'roles' => array(
  325. 'root' => 'root',
  326. ),
  327. 'module' => 'piwik',
  328. );
  329. // Exported permission: 'use ipe with page manager'.
  330. $permissions['use ipe with page manager'] = array(
  331. 'name' => 'use ipe with page manager',
  332. 'roles' => array(),
  333. 'module' => 'panels',
  334. );
  335. // Exported permission: 'use page manager'.
  336. $permissions['use page manager'] = array(
  337. 'name' => 'use page manager',
  338. 'roles' => array(
  339. 'root' => 'root',
  340. ),
  341. 'module' => 'page_manager',
  342. );
  343. // Exported permission: 'use panels caching features'.
  344. $permissions['use panels caching features'] = array(
  345. 'name' => 'use panels caching features',
  346. 'roles' => array(
  347. 'root' => 'root',
  348. ),
  349. 'module' => 'panels',
  350. );
  351. // Exported permission: 'use panels dashboard'.
  352. $permissions['use panels dashboard'] = array(
  353. 'name' => 'use panels dashboard',
  354. 'roles' => array(
  355. 'root' => 'root',
  356. ),
  357. 'module' => 'panels',
  358. );
  359. // Exported permission: 'use panels in place editing'.
  360. $permissions['use panels in place editing'] = array(
  361. 'name' => 'use panels in place editing',
  362. 'roles' => array(
  363. 'root' => 'root',
  364. ),
  365. 'module' => 'panels',
  366. );
  367. // Exported permission: 'use panels locks'.
  368. $permissions['use panels locks'] = array(
  369. 'name' => 'use panels locks',
  370. 'roles' => array(
  371. 'root' => 'root',
  372. ),
  373. 'module' => 'panels',
  374. );
  375. // Exported permission: 'view field_poid'.
  376. $permissions['view field_poid'] = array(
  377. 'name' => 'view field_poid',
  378. 'roles' => array(
  379. 'administrator' => 'administrator',
  380. 'root' => 'root',
  381. ),
  382. 'module' => 'field_permissions',
  383. );
  384. // Exported permission: 'view own field_poid'.
  385. $permissions['view own field_poid'] = array(
  386. 'name' => 'view own field_poid',
  387. 'roles' => array(
  388. 'administrator' => 'administrator',
  389. 'root' => 'root',
  390. ),
  391. 'module' => 'field_permissions',
  392. );
  393. // Exported permission: 'view pane admin links'.
  394. $permissions['view pane admin links'] = array(
  395. 'name' => 'view pane admin links',
  396. 'roles' => array(
  397. 'root' => 'root',
  398. ),
  399. 'module' => 'panels',
  400. );
  401. return $permissions;
  402. }