showroom.features.user_permission.inc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <?php
  2. /**
  3. * @file
  4. * showroom.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function showroom_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'assign Admin showroom role'.
  12. $permissions['assign Admin showroom role'] = array(
  13. 'name' => 'assign Admin showroom role',
  14. 'roles' => array(
  15. 'administrator' => 'administrator',
  16. 'root' => 'root',
  17. ),
  18. 'module' => 'role_delegation',
  19. );
  20. // Exported permission: 'create field_location'.
  21. $permissions['create field_location'] = array(
  22. 'name' => 'create field_location',
  23. 'roles' => array(
  24. 'Admin showroom' => 'Admin showroom',
  25. 'administrator' => 'administrator',
  26. 'root' => 'root',
  27. ),
  28. 'module' => 'field_permissions',
  29. );
  30. // Exported permission: 'create field_showroom'.
  31. $permissions['create field_showroom'] = array(
  32. 'name' => 'create field_showroom',
  33. 'roles' => array(
  34. 'administrator' => 'administrator',
  35. 'root' => 'root',
  36. ),
  37. 'module' => 'field_permissions',
  38. );
  39. // Exported permission: 'create field_tode_showroom'.
  40. $permissions['create field_tode_showroom'] = array(
  41. 'name' => 'create field_tode_showroom',
  42. 'roles' => array(
  43. 'administrator' => 'administrator',
  44. 'root' => 'root',
  45. ),
  46. 'module' => 'field_permissions',
  47. );
  48. // Exported permission: 'create showroom content'.
  49. $permissions['create showroom content'] = array(
  50. 'name' => 'create showroom content',
  51. 'roles' => array(
  52. 'administrator' => 'administrator',
  53. 'root' => 'root',
  54. ),
  55. 'module' => 'node',
  56. );
  57. // Exported permission: 'delete any showroom content'.
  58. $permissions['delete any showroom content'] = array(
  59. 'name' => 'delete any showroom content',
  60. 'roles' => array(
  61. 'administrator' => 'administrator',
  62. 'root' => 'root',
  63. ),
  64. 'module' => 'node',
  65. );
  66. // Exported permission: 'delete own showroom content'.
  67. $permissions['delete own showroom content'] = array(
  68. 'name' => 'delete own showroom content',
  69. 'roles' => array(
  70. 'administrator' => 'administrator',
  71. 'root' => 'root',
  72. ),
  73. 'module' => 'node',
  74. );
  75. // Exported permission: 'delete terms in showroom'.
  76. $permissions['delete terms in showroom'] = array(
  77. 'name' => 'delete terms in showroom',
  78. 'roles' => array(
  79. 'administrator' => 'administrator',
  80. 'root' => 'root',
  81. ),
  82. 'module' => 'taxonomy',
  83. );
  84. // Exported permission: 'delete users with role 13'.
  85. $permissions['delete users with role 13'] = array(
  86. 'name' => 'delete users with role 13',
  87. 'roles' => array(
  88. 'administrator' => 'administrator',
  89. ),
  90. 'module' => 'administerusersbyrole',
  91. );
  92. // Exported permission: 'edit any showroom content'.
  93. $permissions['edit any showroom content'] = array(
  94. 'name' => 'edit any showroom content',
  95. 'roles' => array(
  96. 'administrator' => 'administrator',
  97. 'root' => 'root',
  98. ),
  99. 'module' => 'node',
  100. );
  101. // Exported permission: 'edit field_location'.
  102. $permissions['edit field_location'] = array(
  103. 'name' => 'edit field_location',
  104. 'roles' => array(
  105. 'Admin showroom' => 'Admin showroom',
  106. 'administrator' => 'administrator',
  107. 'root' => 'root',
  108. ),
  109. 'module' => 'field_permissions',
  110. );
  111. // Exported permission: 'edit field_showroom'.
  112. $permissions['edit field_showroom'] = array(
  113. 'name' => 'edit field_showroom',
  114. 'roles' => array(
  115. 'administrator' => 'administrator',
  116. 'root' => 'root',
  117. ),
  118. 'module' => 'field_permissions',
  119. );
  120. // Exported permission: 'edit field_tode_showroom'.
  121. $permissions['edit field_tode_showroom'] = array(
  122. 'name' => 'edit field_tode_showroom',
  123. 'roles' => array(
  124. 'administrator' => 'administrator',
  125. 'root' => 'root',
  126. ),
  127. 'module' => 'field_permissions',
  128. );
  129. // Exported permission: 'edit own field_location'.
  130. $permissions['edit own field_location'] = array(
  131. 'name' => 'edit own field_location',
  132. 'roles' => array(
  133. 'Admin showroom' => 'Admin showroom',
  134. 'administrator' => 'administrator',
  135. 'root' => 'root',
  136. ),
  137. 'module' => 'field_permissions',
  138. );
  139. // Exported permission: 'edit own field_showroom'.
  140. $permissions['edit own field_showroom'] = array(
  141. 'name' => 'edit own field_showroom',
  142. 'roles' => array(
  143. 'administrator' => 'administrator',
  144. 'root' => 'root',
  145. ),
  146. 'module' => 'field_permissions',
  147. );
  148. // Exported permission: 'edit own field_tode_showroom'.
  149. $permissions['edit own field_tode_showroom'] = array(
  150. 'name' => 'edit own field_tode_showroom',
  151. 'roles' => array(
  152. 'administrator' => 'administrator',
  153. 'root' => 'root',
  154. ),
  155. 'module' => 'field_permissions',
  156. );
  157. // Exported permission: 'edit own showroom content'.
  158. $permissions['edit own showroom content'] = array(
  159. 'name' => 'edit own showroom content',
  160. 'roles' => array(
  161. 'administrator' => 'administrator',
  162. 'root' => 'root',
  163. ),
  164. 'module' => 'node',
  165. );
  166. // Exported permission: 'edit terms in showroom'.
  167. $permissions['edit terms in showroom'] = array(
  168. 'name' => 'edit terms in showroom',
  169. 'roles' => array(
  170. 'administrator' => 'administrator',
  171. 'root' => 'root',
  172. ),
  173. 'module' => 'taxonomy',
  174. );
  175. // Exported permission: 'edit users with role 13'.
  176. $permissions['edit users with role 13'] = array(
  177. 'name' => 'edit users with role 13',
  178. 'roles' => array(
  179. 'administrator' => 'administrator',
  180. ),
  181. 'module' => 'administerusersbyrole',
  182. );
  183. // Exported permission: 'enter showroom revision log entry'.
  184. $permissions['enter showroom revision log entry'] = array(
  185. 'name' => 'enter showroom revision log entry',
  186. 'roles' => array(
  187. 'root' => 'root',
  188. ),
  189. 'module' => 'override_node_options',
  190. );
  191. // Exported permission: 'materio showroom edit all samples fields'.
  192. $permissions['materio showroom edit all samples fields'] = array(
  193. 'name' => 'materio showroom edit all samples fields',
  194. 'roles' => array(
  195. 'administrator' => 'administrator',
  196. 'root' => 'root',
  197. ),
  198. 'module' => 'materio_showroom',
  199. );
  200. // Exported permission: 'materio showroom migrate fields'.
  201. $permissions['materio showroom migrate fields'] = array(
  202. 'name' => 'materio showroom migrate fields',
  203. 'roles' => array(
  204. 'root' => 'root',
  205. ),
  206. 'module' => 'materio_showroom',
  207. );
  208. // Exported permission: 'merge showroom terms'.
  209. $permissions['merge showroom terms'] = array(
  210. 'name' => 'merge showroom terms',
  211. 'roles' => array(
  212. 'root' => 'root',
  213. ),
  214. 'module' => 'term_merge',
  215. );
  216. // Exported permission: 'override showroom authored by option'.
  217. $permissions['override showroom authored by option'] = array(
  218. 'name' => 'override showroom authored by option',
  219. 'roles' => array(
  220. 'root' => 'root',
  221. ),
  222. 'module' => 'override_node_options',
  223. );
  224. // Exported permission: 'override showroom authored on option'.
  225. $permissions['override showroom authored on option'] = array(
  226. 'name' => 'override showroom authored on option',
  227. 'roles' => array(
  228. 'root' => 'root',
  229. ),
  230. 'module' => 'override_node_options',
  231. );
  232. // Exported permission: 'override showroom promote to front page option'.
  233. $permissions['override showroom promote to front page option'] = array(
  234. 'name' => 'override showroom promote to front page option',
  235. 'roles' => array(
  236. 'root' => 'root',
  237. ),
  238. 'module' => 'override_node_options',
  239. );
  240. // Exported permission: 'override showroom published option'.
  241. $permissions['override showroom published option'] = array(
  242. 'name' => 'override showroom published option',
  243. 'roles' => array(
  244. 'root' => 'root',
  245. ),
  246. 'module' => 'override_node_options',
  247. );
  248. // Exported permission: 'override showroom revision option'.
  249. $permissions['override showroom revision option'] = array(
  250. 'name' => 'override showroom revision option',
  251. 'roles' => array(
  252. 'root' => 'root',
  253. ),
  254. 'module' => 'override_node_options',
  255. );
  256. // Exported permission: 'override showroom sticky option'.
  257. $permissions['override showroom sticky option'] = array(
  258. 'name' => 'override showroom sticky option',
  259. 'roles' => array(
  260. 'root' => 'root',
  261. ),
  262. 'module' => 'override_node_options',
  263. );
  264. // Exported permission: 'show showroom title'.
  265. $permissions['show showroom title'] = array(
  266. 'name' => 'show showroom title',
  267. 'roles' => array(
  268. 'Admin showroom' => 'Admin showroom',
  269. 'administrator' => 'administrator',
  270. 'root' => 'root',
  271. ),
  272. 'module' => 'materio_page_title',
  273. );
  274. // Exported permission: 'view field_location'.
  275. $permissions['view field_location'] = array(
  276. 'name' => 'view field_location',
  277. 'roles' => array(
  278. 'Adhérent' => 'Adhérent',
  279. 'Admin showroom' => 'Admin showroom',
  280. 'Premium' => 'Premium',
  281. 'Student' => 'Student',
  282. 'Unverified' => 'Unverified',
  283. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  284. 'administrator' => 'administrator',
  285. 'root' => 'root',
  286. ),
  287. 'module' => 'field_permissions',
  288. );
  289. // Exported permission: 'view field_showroom'.
  290. $permissions['view field_showroom'] = array(
  291. 'name' => 'view field_showroom',
  292. 'roles' => array(
  293. 'administrator' => 'administrator',
  294. 'root' => 'root',
  295. ),
  296. 'module' => 'field_permissions',
  297. );
  298. // Exported permission: 'view field_tode_showroom'.
  299. $permissions['view field_tode_showroom'] = array(
  300. 'name' => 'view field_tode_showroom',
  301. 'roles' => array(
  302. 'administrator' => 'administrator',
  303. 'root' => 'root',
  304. ),
  305. 'module' => 'field_permissions',
  306. );
  307. // Exported permission: 'view own field_location'.
  308. $permissions['view own field_location'] = array(
  309. 'name' => 'view own field_location',
  310. 'roles' => array(
  311. 'Admin showroom' => 'Admin showroom',
  312. 'administrator' => 'administrator',
  313. 'root' => 'root',
  314. ),
  315. 'module' => 'field_permissions',
  316. );
  317. // Exported permission: 'view own field_showroom'.
  318. $permissions['view own field_showroom'] = array(
  319. 'name' => 'view own field_showroom',
  320. 'roles' => array(
  321. 'administrator' => 'administrator',
  322. 'root' => 'root',
  323. ),
  324. 'module' => 'field_permissions',
  325. );
  326. // Exported permission: 'view own field_tode_showroom'.
  327. $permissions['view own field_tode_showroom'] = array(
  328. 'name' => 'view own field_tode_showroom',
  329. 'roles' => array(
  330. 'administrator' => 'administrator',
  331. 'root' => 'root',
  332. ),
  333. 'module' => 'field_permissions',
  334. );
  335. return $permissions;
  336. }