materio_administration.features.user_permission.inc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  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 admin theme'.
  12. $permissions['access admin theme'] = array(
  13. 'name' => 'access admin theme',
  14. 'roles' => array(
  15. 'Admin showroom' => 'Admin showroom',
  16. 'Translator' => 'Translator',
  17. 'administrator' => 'administrator',
  18. 'root' => 'root',
  19. ),
  20. 'module' => 'admin_theme',
  21. );
  22. // Exported permission: 'access administration menu'.
  23. $permissions['access administration menu'] = array(
  24. 'name' => 'access administration menu',
  25. 'roles' => array(
  26. 'Admin showroom' => 'Admin showroom',
  27. 'Translator' => 'Translator',
  28. 'administrator' => 'administrator',
  29. 'root' => 'root',
  30. ),
  31. 'module' => 'admin_menu',
  32. );
  33. // Exported permission: 'access content'.
  34. $permissions['access content'] = array(
  35. 'name' => 'access content',
  36. 'roles' => array(
  37. 'Adhérent' => 'Adhérent',
  38. 'Admin showroom' => 'Admin showroom',
  39. 'Contact opérationnel' => 'Contact opérationnel',
  40. 'Premium' => 'Premium',
  41. 'Student' => 'Student',
  42. 'Translator' => 'Translator',
  43. 'Unverified' => 'Unverified',
  44. 'Utilisateur' => 'Utilisateur',
  45. 'administrator' => 'administrator',
  46. 'anonymous user' => 'anonymous user',
  47. 'root' => 'root',
  48. ),
  49. 'module' => 'node',
  50. );
  51. // Exported permission: 'access content overview'.
  52. $permissions['access content overview'] = array(
  53. 'name' => 'access content overview',
  54. 'roles' => array(
  55. 'Translator' => 'Translator',
  56. 'administrator' => 'administrator',
  57. 'root' => 'root',
  58. ),
  59. 'module' => 'node',
  60. );
  61. // Exported permission: 'access workflow summary views'.
  62. $permissions['access workflow summary views'] = array(
  63. 'name' => 'access workflow summary views',
  64. 'roles' => array(
  65. 'root' => 'root',
  66. ),
  67. 'module' => 'workflow_views',
  68. );
  69. // Exported permission: 'access_translation_table_content_type'.
  70. $permissions['access_translation_table_content_type'] = array(
  71. 'name' => 'access_translation_table_content_type',
  72. 'roles' => array(
  73. 'administrator' => 'administrator',
  74. 'root' => 'root',
  75. ),
  76. 'module' => 'translate_perms',
  77. );
  78. // Exported permission: 'access_translation_table_fields'.
  79. $permissions['access_translation_table_fields'] = array(
  80. 'name' => 'access_translation_table_fields',
  81. 'roles' => array(
  82. 'administrator' => 'administrator',
  83. 'root' => 'root',
  84. ),
  85. 'module' => 'translate_perms',
  86. );
  87. // Exported permission: 'access_translation_table_menu'.
  88. $permissions['access_translation_table_menu'] = array(
  89. 'name' => 'access_translation_table_menu',
  90. 'roles' => array(
  91. 'administrator' => 'administrator',
  92. 'root' => 'root',
  93. ),
  94. 'module' => 'translate_perms',
  95. );
  96. // Exported permission: 'access_translation_table_taxonomy'.
  97. $permissions['access_translation_table_taxonomy'] = array(
  98. 'name' => 'access_translation_table_taxonomy',
  99. 'roles' => array(
  100. 'root' => 'root',
  101. ),
  102. 'module' => 'translate_perms',
  103. );
  104. // Exported permission: 'access_translations_overview'.
  105. $permissions['access_translations_overview'] = array(
  106. 'name' => 'access_translations_overview',
  107. 'roles' => array(
  108. 'root' => 'root',
  109. ),
  110. 'module' => 'translate_perms',
  111. );
  112. // Exported permission: 'administer content types'.
  113. $permissions['administer content types'] = array(
  114. 'name' => 'administer content types',
  115. 'roles' => array(
  116. 'root' => 'root',
  117. ),
  118. 'module' => 'node',
  119. );
  120. // Exported permission: 'administer entity translation'.
  121. $permissions['administer entity translation'] = array(
  122. 'name' => 'administer entity translation',
  123. 'roles' => array(
  124. 'root' => 'root',
  125. ),
  126. 'module' => 'entity_translation',
  127. );
  128. // Exported permission: 'administer login destination settings'.
  129. $permissions['administer login destination settings'] = array(
  130. 'name' => 'administer login destination settings',
  131. 'roles' => array(
  132. 'root' => 'root',
  133. ),
  134. 'module' => 'login_destination',
  135. );
  136. // Exported permission: 'administer nodes'.
  137. $permissions['administer nodes'] = array(
  138. 'name' => 'administer nodes',
  139. 'roles' => array(
  140. 'root' => 'root',
  141. ),
  142. 'module' => 'node',
  143. );
  144. // Exported permission: 'administer remove_duplicates'.
  145. $permissions['administer remove_duplicates'] = array(
  146. 'name' => 'administer remove_duplicates',
  147. 'roles' => array(
  148. 'administrator' => 'administrator',
  149. 'root' => 'root',
  150. ),
  151. 'module' => 'remove_duplicates',
  152. );
  153. // Exported permission: 'administer themes'.
  154. $permissions['administer themes'] = array(
  155. 'name' => 'administer themes',
  156. 'roles' => array(
  157. 'root' => 'root',
  158. ),
  159. 'module' => 'system',
  160. );
  161. // Exported permission: 'administer workflow'.
  162. $permissions['administer workflow'] = array(
  163. 'name' => 'administer workflow',
  164. 'roles' => array(
  165. 'root' => 'root',
  166. ),
  167. 'module' => 'workflow_admin_ui',
  168. );
  169. // Exported permission: 'assign Adhérent role'.
  170. $permissions['assign Adhérent role'] = array(
  171. 'name' => 'assign Adhérent role',
  172. 'roles' => array(
  173. 'administrator' => 'administrator',
  174. 'root' => 'root',
  175. ),
  176. 'module' => 'role_delegation',
  177. );
  178. // Exported permission: 'assign Contact opérationnel role'.
  179. $permissions['assign Contact opérationnel role'] = array(
  180. 'name' => 'assign Contact opérationnel role',
  181. 'roles' => array(
  182. 'administrator' => 'administrator',
  183. 'root' => 'root',
  184. ),
  185. 'module' => 'role_delegation',
  186. );
  187. // Exported permission: 'assign Premium role'.
  188. $permissions['assign Premium role'] = array(
  189. 'name' => 'assign Premium role',
  190. 'roles' => array(
  191. 'administrator' => 'administrator',
  192. 'root' => 'root',
  193. ),
  194. 'module' => 'role_delegation',
  195. );
  196. // Exported permission: 'assign Student role'.
  197. $permissions['assign Student role'] = array(
  198. 'name' => 'assign Student role',
  199. 'roles' => array(
  200. 'administrator' => 'administrator',
  201. 'root' => 'root',
  202. ),
  203. 'module' => 'role_delegation',
  204. );
  205. // Exported permission: 'assign Unverified role'.
  206. $permissions['assign Unverified role'] = array(
  207. 'name' => 'assign Unverified role',
  208. 'roles' => array(
  209. 'administrator' => 'administrator',
  210. 'root' => 'root',
  211. ),
  212. 'module' => 'role_delegation',
  213. );
  214. // Exported permission: 'assign Utilisateur Alpha Tester role'.
  215. $permissions['assign Utilisateur Alpha Tester role'] = array(
  216. 'name' => 'assign Utilisateur Alpha Tester role',
  217. 'roles' => array(
  218. 'administrator' => 'administrator',
  219. 'root' => 'root',
  220. ),
  221. 'module' => 'role_delegation',
  222. );
  223. // Exported permission: 'assign Utilisateur role'.
  224. $permissions['assign Utilisateur role'] = array(
  225. 'name' => 'assign Utilisateur role',
  226. 'roles' => array(
  227. 'administrator' => 'administrator',
  228. 'root' => 'root',
  229. ),
  230. 'module' => 'role_delegation',
  231. );
  232. // Exported permission: 'assign administrator role'.
  233. $permissions['assign administrator role'] = array(
  234. 'name' => 'assign administrator role',
  235. 'roles' => array(
  236. 'administrator' => 'administrator',
  237. 'root' => 'root',
  238. ),
  239. 'module' => 'role_delegation',
  240. );
  241. // Exported permission: 'assign all roles'.
  242. $permissions['assign all roles'] = array(
  243. 'name' => 'assign all roles',
  244. 'roles' => array(
  245. 'root' => 'root',
  246. ),
  247. 'module' => 'role_delegation',
  248. );
  249. // Exported permission: 'bypass node access'.
  250. $permissions['bypass node access'] = array(
  251. 'name' => 'bypass node access',
  252. 'roles' => array(
  253. 'root' => 'root',
  254. ),
  255. 'module' => 'node',
  256. );
  257. // Exported permission: 'create breve content'.
  258. $permissions['create breve content'] = array(
  259. 'name' => 'create breve content',
  260. 'roles' => array(
  261. 'administrator' => 'administrator',
  262. 'root' => 'root',
  263. ),
  264. 'module' => 'node',
  265. );
  266. // Exported permission: 'create looping_embed_video content'.
  267. $permissions['create looping_embed_video content'] = array(
  268. 'name' => 'create looping_embed_video content',
  269. 'roles' => array(
  270. 'root' => 'root',
  271. ),
  272. 'module' => 'node',
  273. );
  274. // Exported permission: 'create materiau content'.
  275. $permissions['create materiau content'] = array(
  276. 'name' => 'create materiau content',
  277. 'roles' => array(
  278. 'administrator' => 'administrator',
  279. 'root' => 'root',
  280. ),
  281. 'module' => 'node',
  282. );
  283. // Exported permission: 'delete any breve content'.
  284. $permissions['delete any breve content'] = array(
  285. 'name' => 'delete any breve content',
  286. 'roles' => array(
  287. 'root' => 'root',
  288. ),
  289. 'module' => 'node',
  290. );
  291. // Exported permission: 'delete any looping_embed_video content'.
  292. $permissions['delete any looping_embed_video content'] = array(
  293. 'name' => 'delete any looping_embed_video content',
  294. 'roles' => array(
  295. 'root' => 'root',
  296. ),
  297. 'module' => 'node',
  298. );
  299. // Exported permission: 'delete any materiau content'.
  300. $permissions['delete any materiau content'] = array(
  301. 'name' => 'delete any materiau content',
  302. 'roles' => array(
  303. 'root' => 'root',
  304. ),
  305. 'module' => 'node',
  306. );
  307. // Exported permission: 'delete own breve content'.
  308. $permissions['delete own breve content'] = array(
  309. 'name' => 'delete own breve content',
  310. 'roles' => array(
  311. 'root' => 'root',
  312. ),
  313. 'module' => 'node',
  314. );
  315. // Exported permission: 'delete own looping_embed_video content'.
  316. $permissions['delete own looping_embed_video content'] = array(
  317. 'name' => 'delete own looping_embed_video content',
  318. 'roles' => array(
  319. 'root' => 'root',
  320. ),
  321. 'module' => 'node',
  322. );
  323. // Exported permission: 'delete own materiau content'.
  324. $permissions['delete own materiau content'] = array(
  325. 'name' => 'delete own materiau content',
  326. 'roles' => array(
  327. 'root' => 'root',
  328. ),
  329. 'module' => 'node',
  330. );
  331. // Exported permission: 'delete revisions'.
  332. $permissions['delete revisions'] = array(
  333. 'name' => 'delete revisions',
  334. 'roles' => array(
  335. 'administrator' => 'administrator',
  336. 'root' => 'root',
  337. ),
  338. 'module' => 'node',
  339. );
  340. // Exported permission: 'display drupal links'.
  341. $permissions['display drupal links'] = array(
  342. 'name' => 'display drupal links',
  343. 'roles' => array(
  344. 'root' => 'root',
  345. ),
  346. 'module' => 'admin_menu',
  347. );
  348. // Exported permission: 'edit any breve content'.
  349. $permissions['edit any breve content'] = array(
  350. 'name' => 'edit any breve content',
  351. 'roles' => array(
  352. 'administrator' => 'administrator',
  353. 'root' => 'root',
  354. ),
  355. 'module' => 'node',
  356. );
  357. // Exported permission: 'edit any looping_embed_video content'.
  358. $permissions['edit any looping_embed_video content'] = array(
  359. 'name' => 'edit any looping_embed_video content',
  360. 'roles' => array(
  361. 'root' => 'root',
  362. ),
  363. 'module' => 'node',
  364. );
  365. // Exported permission: 'edit any materiau content'.
  366. $permissions['edit any materiau content'] = array(
  367. 'name' => 'edit any materiau content',
  368. 'roles' => array(
  369. 'Admin showroom' => 'Admin showroom',
  370. 'administrator' => 'administrator',
  371. 'root' => 'root',
  372. ),
  373. 'module' => 'node',
  374. );
  375. // Exported permission: 'edit node original values'.
  376. $permissions['edit node original values'] = array(
  377. 'name' => 'edit node original values',
  378. 'roles' => array(
  379. 'administrator' => 'administrator',
  380. 'root' => 'root',
  381. ),
  382. 'module' => 'entity_translation',
  383. );
  384. // Exported permission: 'edit node translation shared fields'.
  385. $permissions['edit node translation shared fields'] = array(
  386. 'name' => 'edit node translation shared fields',
  387. 'roles' => array(
  388. 'Admin showroom' => 'Admin showroom',
  389. 'Translator' => 'Translator',
  390. 'administrator' => 'administrator',
  391. 'root' => 'root',
  392. ),
  393. 'module' => 'entity_translation',
  394. );
  395. // Exported permission: 'edit original values'.
  396. $permissions['edit original values'] = array(
  397. 'name' => 'edit original values',
  398. 'roles' => array(
  399. 'Admin showroom' => 'Admin showroom',
  400. 'administrator' => 'administrator',
  401. 'root' => 'root',
  402. ),
  403. 'module' => 'entity_translation',
  404. );
  405. // Exported permission: 'edit own breve content'.
  406. $permissions['edit own breve content'] = array(
  407. 'name' => 'edit own breve content',
  408. 'roles' => array(
  409. 'administrator' => 'administrator',
  410. 'root' => 'root',
  411. ),
  412. 'module' => 'node',
  413. );
  414. // Exported permission: 'edit own looping_embed_video content'.
  415. $permissions['edit own looping_embed_video content'] = array(
  416. 'name' => 'edit own looping_embed_video content',
  417. 'roles' => array(
  418. 'root' => 'root',
  419. ),
  420. 'module' => 'node',
  421. );
  422. // Exported permission: 'edit own materiau content'.
  423. $permissions['edit own materiau content'] = array(
  424. 'name' => 'edit own materiau content',
  425. 'roles' => array(
  426. 'administrator' => 'administrator',
  427. 'root' => 'root',
  428. ),
  429. 'module' => 'node',
  430. );
  431. // Exported permission: 'edit taxonomy_term original values'.
  432. $permissions['edit taxonomy_term original values'] = array(
  433. 'name' => 'edit taxonomy_term original values',
  434. 'roles' => array(
  435. 'administrator' => 'administrator',
  436. 'root' => 'root',
  437. ),
  438. 'module' => 'entity_translation',
  439. );
  440. // Exported permission: 'edit taxonomy_term translation shared fields'.
  441. $permissions['edit taxonomy_term translation shared fields'] = array(
  442. 'name' => 'edit taxonomy_term translation shared fields',
  443. 'roles' => array(
  444. 'administrator' => 'administrator',
  445. 'root' => 'root',
  446. ),
  447. 'module' => 'entity_translation',
  448. );
  449. // Exported permission: 'edit translation shared fields'.
  450. $permissions['edit translation shared fields'] = array(
  451. 'name' => 'edit translation shared fields',
  452. 'roles' => array(
  453. 'Admin showroom' => 'Admin showroom',
  454. 'Translator' => 'Translator',
  455. 'administrator' => 'administrator',
  456. 'root' => 'root',
  457. ),
  458. 'module' => 'entity_translation',
  459. );
  460. // Exported permission: 'export_translations'.
  461. $permissions['export_translations'] = array(
  462. 'name' => 'export_translations',
  463. 'roles' => array(
  464. 'root' => 'root',
  465. ),
  466. 'module' => 'translate_perms',
  467. );
  468. // Exported permission: 'flush caches'.
  469. $permissions['flush caches'] = array(
  470. 'name' => 'flush caches',
  471. 'roles' => array(
  472. 'root' => 'root',
  473. ),
  474. 'module' => 'admin_menu',
  475. );
  476. // Exported permission: 'import_translations'.
  477. $permissions['import_translations'] = array(
  478. 'name' => 'import_translations',
  479. 'roles' => array(
  480. 'root' => 'root',
  481. ),
  482. 'module' => 'translate_perms',
  483. );
  484. // Exported permission: 'participate in workflow'.
  485. $permissions['participate in workflow'] = array(
  486. 'name' => 'participate in workflow',
  487. 'roles' => array(
  488. 'Adhérent' => 'Adhérent',
  489. 'Admin showroom' => 'Admin showroom',
  490. 'Contact opérationnel' => 'Contact opérationnel',
  491. 'Premium' => 'Premium',
  492. 'Student' => 'Student',
  493. 'Translator' => 'Translator',
  494. 'Unverified' => 'Unverified',
  495. 'Utilisateur' => 'Utilisateur',
  496. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  497. 'administrator' => 'administrator',
  498. 'anonymous user' => 'anonymous user',
  499. 'authenticated user' => 'authenticated user',
  500. 'root' => 'root',
  501. ),
  502. 'module' => 'workflow_admin_ui',
  503. );
  504. // Exported permission: 'refresh_strings'.
  505. $permissions['refresh_strings'] = array(
  506. 'name' => 'refresh_strings',
  507. 'roles' => array(
  508. 'root' => 'root',
  509. ),
  510. 'module' => 'translate_perms',
  511. );
  512. // Exported permission: 'revert revisions'.
  513. $permissions['revert revisions'] = array(
  514. 'name' => 'revert revisions',
  515. 'roles' => array(
  516. 'administrator' => 'administrator',
  517. 'root' => 'root',
  518. ),
  519. 'module' => 'node',
  520. );
  521. // Exported permission: 'schedule workflow transitions'.
  522. $permissions['schedule workflow transitions'] = array(
  523. 'name' => 'schedule workflow transitions',
  524. 'roles' => array(
  525. 'root' => 'root',
  526. ),
  527. 'module' => 'workflow',
  528. );
  529. // Exported permission: 'select different theme'.
  530. $permissions['select different theme'] = array(
  531. 'name' => 'select different theme',
  532. 'roles' => array(
  533. 'root' => 'root',
  534. ),
  535. 'module' => 'admin',
  536. );
  537. // Exported permission: 'send newsletter'.
  538. $permissions['send newsletter'] = array(
  539. 'name' => 'send newsletter',
  540. 'roles' => array(
  541. 'administrator' => 'administrator',
  542. 'root' => 'root',
  543. ),
  544. 'module' => 'simplenews',
  545. );
  546. // Exported permission: 'show workflow state form'.
  547. $permissions['show workflow state form'] = array(
  548. 'name' => 'show workflow state form',
  549. 'roles' => array(
  550. 'root' => 'root',
  551. ),
  552. 'module' => 'workflow',
  553. );
  554. // Exported permission: 'subscribe to newsletters'.
  555. $permissions['subscribe to newsletters'] = array(
  556. 'name' => 'subscribe to newsletters',
  557. 'roles' => array(
  558. 'Adhérent' => 'Adhérent',
  559. 'Contact opérationnel' => 'Contact opérationnel',
  560. 'Premium' => 'Premium',
  561. 'Student' => 'Student',
  562. 'Utilisateur' => 'Utilisateur',
  563. 'administrator' => 'administrator',
  564. 'anonymous user' => 'anonymous user',
  565. 'root' => 'root',
  566. ),
  567. 'module' => 'simplenews',
  568. );
  569. // Exported permission: 'subscribe to simplenews category 6274'.
  570. $permissions['subscribe to simplenews category 6274'] = array(
  571. 'name' => 'subscribe to simplenews category 6274',
  572. 'roles' => array(
  573. 'anonymous user' => 'anonymous user',
  574. 'authenticated user' => 'authenticated user',
  575. ),
  576. 'module' => 'materio_user',
  577. );
  578. // Exported permission: 'toggle field translatability'.
  579. $permissions['toggle field translatability'] = array(
  580. 'name' => 'toggle field translatability',
  581. 'roles' => array(
  582. 'root' => 'root',
  583. ),
  584. 'module' => 'entity_translation',
  585. );
  586. // Exported permission: 'translate admin strings'.
  587. $permissions['translate admin strings'] = array(
  588. 'name' => 'translate admin strings',
  589. 'roles' => array(
  590. 'administrator' => 'administrator',
  591. 'root' => 'root',
  592. ),
  593. 'module' => 'i18n_string',
  594. );
  595. // Exported permission: 'translate any entity'.
  596. $permissions['translate any entity'] = array(
  597. 'name' => 'translate any entity',
  598. 'roles' => array(
  599. 'administrator' => 'administrator',
  600. 'root' => 'root',
  601. ),
  602. 'module' => 'entity_translation',
  603. );
  604. // Exported permission: 'translate content'.
  605. $permissions['translate content'] = array(
  606. 'name' => 'translate content',
  607. 'roles' => array(
  608. 'administrator' => 'administrator',
  609. 'root' => 'root',
  610. ),
  611. 'module' => 'translation',
  612. );
  613. // Exported permission: 'translate node entities'.
  614. $permissions['translate node entities'] = array(
  615. 'name' => 'translate node entities',
  616. 'roles' => array(
  617. 'Translator' => 'Translator',
  618. 'administrator' => 'administrator',
  619. 'root' => 'root',
  620. ),
  621. 'module' => 'entity_translation',
  622. );
  623. // Exported permission: 'translate taxonomy_term entities'.
  624. $permissions['translate taxonomy_term entities'] = array(
  625. 'name' => 'translate taxonomy_term entities',
  626. 'roles' => array(
  627. 'administrator' => 'administrator',
  628. 'root' => 'root',
  629. ),
  630. 'module' => 'entity_translation',
  631. );
  632. // Exported permission: 'translate user-defined strings'.
  633. $permissions['translate user-defined strings'] = array(
  634. 'name' => 'translate user-defined strings',
  635. 'roles' => array(
  636. 'administrator' => 'administrator',
  637. 'root' => 'root',
  638. ),
  639. 'module' => 'i18n_string',
  640. );
  641. // Exported permission: 'translate_strings'.
  642. $permissions['translate_strings'] = array(
  643. 'name' => 'translate_strings',
  644. 'roles' => array(
  645. 'administrator' => 'administrator',
  646. 'root' => 'root',
  647. ),
  648. 'module' => 'translate_perms',
  649. );
  650. // Exported permission: 'update_modules_translations'.
  651. $permissions['update_modules_translations'] = array(
  652. 'name' => 'update_modules_translations',
  653. 'roles' => array(
  654. 'root' => 'root',
  655. ),
  656. 'module' => 'translate_perms',
  657. );
  658. // Exported permission: 'view own unpublished content'.
  659. $permissions['view own unpublished content'] = array(
  660. 'name' => 'view own unpublished content',
  661. 'roles' => array(
  662. 'root' => 'root',
  663. ),
  664. 'module' => 'node',
  665. );
  666. // Exported permission: 'view revisions'.
  667. $permissions['view revisions'] = array(
  668. 'name' => 'view revisions',
  669. 'roles' => array(
  670. 'administrator' => 'administrator',
  671. 'root' => 'root',
  672. ),
  673. 'module' => 'node',
  674. );
  675. // Exported permission: 'view the administration theme'.
  676. $permissions['view the administration theme'] = array(
  677. 'name' => 'view the administration theme',
  678. 'roles' => array(
  679. 'Admin showroom' => 'Admin showroom',
  680. 'Translator' => 'Translator',
  681. 'administrator' => 'administrator',
  682. 'root' => 'root',
  683. ),
  684. 'module' => 'system',
  685. );
  686. return $permissions;
  687. }