Issue #1803790: moved i18n from ferry_basic Feature to ferry_i18n
[project/ferry.git] / modules / features / ferry_basic / ferry_basic.features.user_permission.inc
1 <?php
2 /**
3 * @file
4 * ferry_basic.features.user_permission.inc
5 */
6
7 /**
8 * Implements hook_user_default_permissions().
9 */
10 function ferry_basic_user_default_permissions() {
11 $permissions = array();
12
13 // Exported permission: access administration pages.
14 $permissions['access administration pages'] = array(
15 'name' => 'access administration pages',
16 'roles' => array(
17 0 => 'administrator',
18 ),
19 'module' => 'system',
20 );
21
22 // Exported permission: access all views.
23 $permissions['access all views'] = array(
24 'name' => 'access all views',
25 'roles' => array(
26 0 => 'administrator',
27 ),
28 'module' => 'views',
29 );
30
31 // Exported permission: access comments.
32 $permissions['access comments'] = array(
33 'name' => 'access comments',
34 'roles' => array(
35 0 => 'administrator',
36 1 => 'anonymous user',
37 2 => 'authenticated user',
38 ),
39 'module' => 'comment',
40 );
41
42 // Exported permission: access content.
43 $permissions['access content'] = array(
44 'name' => 'access content',
45 'roles' => array(
46 0 => 'administrator',
47 1 => 'anonymous user',
48 2 => 'authenticated user',
49 ),
50 'module' => 'node',
51 );
52
53 // Exported permission: access content overview.
54 $permissions['access content overview'] = array(
55 'name' => 'access content overview',
56 'roles' => array(
57 0 => 'administrator',
58 1 => 'editor',
59 2 => 'editor-in-chief',
60 ),
61 'module' => 'node',
62 );
63
64 // Exported permission: access contextual links.
65 $permissions['access contextual links'] = array(
66 'name' => 'access contextual links',
67 'roles' => array(
68 0 => 'administrator',
69 1 => 'editor',
70 2 => 'editor-in-chief',
71 ),
72 'module' => 'contextual',
73 );
74
75 // Exported permission: access dashboard.
76 $permissions['access dashboard'] = array(
77 'name' => 'access dashboard',
78 'roles' => array(
79 0 => 'administrator',
80 ),
81 'module' => 'dashboard',
82 );
83
84 // Exported permission: access print.
85 $permissions['access print'] = array(
86 'name' => 'access print',
87 'roles' => array(
88 0 => 'administrator',
89 1 => 'authenticated user',
90 ),
91 'module' => 'print',
92 );
93
94 // Exported permission: access security review list.
95 $permissions['access security review list'] = array(
96 'name' => 'access security review list',
97 'roles' => array(
98 0 => 'administrator',
99 ),
100 'module' => 'security_review',
101 );
102
103 // Exported permission: access site in maintenance mode.
104 $permissions['access site in maintenance mode'] = array(
105 'name' => 'access site in maintenance mode',
106 'roles' => array(
107 0 => 'administrator',
108 ),
109 'module' => 'system',
110 );
111
112 // Exported permission: access site reports.
113 $permissions['access site reports'] = array(
114 'name' => 'access site reports',
115 'roles' => array(
116 0 => 'administrator',
117 ),
118 'module' => 'system',
119 );
120
121 // Exported permission: access site-wide contact form.
122 $permissions['access site-wide contact form'] = array(
123 'name' => 'access site-wide contact form',
124 'roles' => array(
125 0 => 'administrator',
126 1 => 'authenticated user',
127 ),
128 'module' => 'contact',
129 );
130
131 // Exported permission: access statistics.
132 $permissions['access statistics'] = array(
133 'name' => 'access statistics',
134 'roles' => array(
135 0 => 'administrator',
136 ),
137 'module' => 'statistics',
138 );
139
140 // Exported permission: access toolbar.
141 $permissions['access toolbar'] = array(
142 'name' => 'access toolbar',
143 'roles' => array(
144 0 => 'administrator',
145 ),
146 'module' => 'toolbar',
147 );
148
149 // Exported permission: access user contact forms.
150 $permissions['access user contact forms'] = array(
151 'name' => 'access user contact forms',
152 'roles' => array(
153 0 => 'administrator',
154 ),
155 'module' => 'contact',
156 );
157
158 // Exported permission: access user profiles.
159 $permissions['access user profiles'] = array(
160 'name' => 'access user profiles',
161 'roles' => array(
162 0 => 'administrator',
163 1 => 'editor',
164 2 => 'editor-in-chief',
165 ),
166 'module' => 'user',
167 );
168
169 // Exported permission: add media from remote sources.
170 $permissions['add media from remote sources'] = array(
171 'name' => 'add media from remote sources',
172 'roles' => array(
173 0 => 'administrator',
174 1 => 'authenticated user',
175 2 => 'editor',
176 ),
177 'module' => 'media_internet',
178 );
179
180 // Exported permission: administer actions.
181 $permissions['administer actions'] = array(
182 'name' => 'administer actions',
183 'roles' => array(
184 0 => 'administrator',
185 ),
186 'module' => 'system',
187 );
188
189 // Exported permission: administer blocks.
190 $permissions['administer blocks'] = array(
191 'name' => 'administer blocks',
192 'roles' => array(
193 0 => 'administrator',
194 ),
195 'module' => 'block',
196 );
197
198 // Exported permission: administer comments.
199 $permissions['administer comments'] = array(
200 'name' => 'administer comments',
201 'roles' => array(
202 0 => 'administrator',
203 1 => 'editor',
204 2 => 'editor-in-chief',
205 ),
206 'module' => 'comment',
207 );
208
209 // Exported permission: administer contact forms.
210 $permissions['administer contact forms'] = array(
211 'name' => 'administer contact forms',
212 'roles' => array(
213 0 => 'administrator',
214 1 => 'editor-in-chief',
215 ),
216 'module' => 'contact',
217 );
218
219 // Exported permission: administer content types.
220 $permissions['administer content types'] = array(
221 'name' => 'administer content types',
222 'roles' => array(
223 0 => 'administrator',
224 ),
225 'module' => 'node',
226 );
227
228 // Exported permission: administer date tools.
229 $permissions['administer date tools'] = array(
230 'name' => 'administer date tools',
231 'roles' => array(
232 0 => 'administrator',
233 1 => 'editor-in-chief',
234 ),
235 'module' => 'date_tools',
236 );
237
238 // Exported permission: administer facets.
239 $permissions['administer facets'] = array(
240 'name' => 'administer facets',
241 'roles' => array(
242 0 => 'administrator',
243 ),
244 'module' => 'facetapi',
245 );
246
247 // Exported permission: administer features.
248 $permissions['administer features'] = array(
249 'name' => 'administer features',
250 'roles' => array(
251 0 => 'administrator',
252 ),
253 'module' => 'features',
254 );
255
256 // Exported permission: administer fieldgroups.
257 $permissions['administer fieldgroups'] = array(
258 'name' => 'administer fieldgroups',
259 'roles' => array(
260 0 => 'administrator',
261 ),
262 'module' => 'field_group',
263 );
264
265 // Exported permission: administer files.
266 $permissions['administer files'] = array(
267 'name' => 'administer files',
268 'roles' => array(
269 0 => 'administrator',
270 1 => 'editor',
271 2 => 'editor-in-chief',
272 ),
273 'module' => 'file_entity',
274 );
275
276 // Exported permission: administer filters.
277 $permissions['administer filters'] = array(
278 'name' => 'administer filters',
279 'roles' => array(
280 0 => 'administrator',
281 ),
282 'module' => 'filter',
283 );
284
285 // Exported permission: administer image styles.
286 $permissions['administer image styles'] = array(
287 'name' => 'administer image styles',
288 'roles' => array(
289 0 => 'administrator',
290 1 => 'editor',
291 ),
292 'module' => 'image',
293 );
294
295 // Exported permission: administer imce.
296 $permissions['administer imce'] = array(
297 'name' => 'administer imce',
298 'roles' => array(
299 0 => 'administrator',
300 ),
301 'module' => 'imce',
302 );
303
304 // Exported permission: administer languages.
305 $permissions['administer languages'] = array(
306 'name' => 'administer languages',
307 'roles' => array(
308 0 => 'administrator',
309 ),
310 'module' => 'locale',
311 );
312
313 // Exported permission: administer linkit.
314 $permissions['administer linkit'] = array(
315 'name' => 'administer linkit',
316 'roles' => array(
317 0 => 'administrator',
318 ),
319 'module' => 'linkit',
320 );
321
322 // Exported permission: administer menu.
323 $permissions['administer menu'] = array(
324 'name' => 'administer menu',
325 'roles' => array(
326 0 => 'administrator',
327 1 => 'editor-in-chief',
328 ),
329 'module' => 'menu',
330 );
331
332 // Exported permission: administer modules.
333 $permissions['administer modules'] = array(
334 'name' => 'administer modules',
335 'roles' => array(
336 0 => 'administrator',
337 ),
338 'module' => 'system',
339 );
340
341 // Exported permission: administer nodes.
342 $permissions['administer nodes'] = array(
343 'name' => 'administer nodes',
344 'roles' => array(
345 0 => 'administrator',
346 1 => 'editor-in-chief',
347 ),
348 'module' => 'node',
349 );
350
351 // Exported permission: administer page titles.
352 $permissions['administer page titles'] = array(
353 'name' => 'administer page titles',
354 'roles' => array(
355 0 => 'administrator',
356 1 => 'editor-in-chief',
357 ),
358 'module' => 'page_title',
359 );
360
361 // Exported permission: administer pathauto.
362 $permissions['administer pathauto'] = array(
363 'name' => 'administer pathauto',
364 'roles' => array(
365 0 => 'administrator',
366 1 => 'editor-in-chief',
367 ),
368 'module' => 'pathauto',
369 );
370
371 // Exported permission: administer permissions.
372 $permissions['administer permissions'] = array(
373 'name' => 'administer permissions',
374 'roles' => array(
375 0 => 'administrator',
376 ),
377 'module' => 'user',
378 );
379
380 // Exported permission: administer print.
381 $permissions['administer print'] = array(
382 'name' => 'administer print',
383 'roles' => array(
384 0 => 'administrator',
385 ),
386 'module' => 'print',
387 );
388
389 // Exported permission: administer search.
390 $permissions['administer search'] = array(
391 'name' => 'administer search',
392 'roles' => array(
393 0 => 'administrator',
394 ),
395 'module' => 'search',
396 );
397
398 // Exported permission: administer search_api.
399 $permissions['administer search_api'] = array(
400 'name' => 'administer search_api',
401 'roles' => array(
402 0 => 'administrator',
403 ),
404 'module' => 'search_api',
405 );
406
407 // Exported permission: administer shortcuts.
408 $permissions['administer shortcuts'] = array(
409 'name' => 'administer shortcuts',
410 'roles' => array(
411 0 => 'administrator',
412 ),
413 'module' => 'shortcut',
414 );
415
416 // Exported permission: administer site configuration.
417 $permissions['administer site configuration'] = array(
418 'name' => 'administer site configuration',
419 'roles' => array(
420 0 => 'administrator',
421 ),
422 'module' => 'system',
423 );
424
425 // Exported permission: administer software updates.
426 $permissions['administer software updates'] = array(
427 'name' => 'administer software updates',
428 'roles' => array(
429 0 => 'administrator',
430 ),
431 'module' => 'system',
432 );
433
434 // Exported permission: administer statistics.
435 $permissions['administer statistics'] = array(
436 'name' => 'administer statistics',
437 'roles' => array(
438 0 => 'administrator',
439 ),
440 'module' => 'statistics',
441 );
442
443 // Exported permission: administer taxonomy.
444 $permissions['administer taxonomy'] = array(
445 'name' => 'administer taxonomy',
446 'roles' => array(
447 0 => 'administrator',
448 1 => 'editor-in-chief',
449 ),
450 'module' => 'taxonomy',
451 );
452
453 // Exported permission: administer themes.
454 $permissions['administer themes'] = array(
455 'name' => 'administer themes',
456 'roles' => array(
457 0 => 'administrator',
458 ),
459 'module' => 'system',
460 );
461
462 // Exported permission: administer url aliases.
463 $permissions['administer url aliases'] = array(
464 'name' => 'administer url aliases',
465 'roles' => array(
466 0 => 'administrator',
467 1 => 'editor-in-chief',
468 ),
469 'module' => 'path',
470 );
471
472 // Exported permission: administer users.
473 $permissions['administer users'] = array(
474 'name' => 'administer users',
475 'roles' => array(
476 0 => 'administrator',
477 1 => 'editor-in-chief',
478 ),
479 'module' => 'user',
480 );
481
482 // Exported permission: administer views.
483 $permissions['administer views'] = array(
484 'name' => 'administer views',
485 'roles' => array(
486 0 => 'administrator',
487 1 => 'editor-in-chief',
488 ),
489 'module' => 'views',
490 );
491
492 // Exported permission: administer xmlsitemap.
493 $permissions['administer xmlsitemap'] = array(
494 'name' => 'administer xmlsitemap',
495 'roles' => array(
496 0 => 'administrator',
497 ),
498 'module' => 'xmlsitemap',
499 );
500
501 // Exported permission: block IP addresses.
502 $permissions['block IP addresses'] = array(
503 'name' => 'block IP addresses',
504 'roles' => array(
505 0 => 'administrator',
506 ),
507 'module' => 'system',
508 );
509
510 // Exported permission: bypass node access.
511 $permissions['bypass node access'] = array(
512 'name' => 'bypass node access',
513 'roles' => array(
514 0 => 'administrator',
515 ),
516 'module' => 'node',
517 );
518
519 // Exported permission: cancel account.
520 $permissions['cancel account'] = array(
521 'name' => 'cancel account',
522 'roles' => array(
523 0 => 'administrator',
524 1 => 'authenticated user',
525 ),
526 'module' => 'user',
527 );
528
529 // Exported permission: change own username.
530 $permissions['change own username'] = array(
531 'name' => 'change own username',
532 'roles' => array(
533 0 => 'administrator',
534 1 => 'authenticated user',
535 ),
536 'module' => 'user',
537 );
538
539 // Exported permission: create article content.
540 $permissions['create article content'] = array(
541 'name' => 'create article content',
542 'roles' => array(
543 0 => 'administrator',
544 1 => 'editor',
545 2 => 'editor-in-chief',
546 ),
547 'module' => 'node',
548 );
549
550 // Exported permission: create page content.
551 $permissions['create page content'] = array(
552 'name' => 'create page content',
553 'roles' => array(
554 0 => 'administrator',
555 1 => 'editor',
556 2 => 'editor-in-chief',
557 ),
558 'module' => 'node',
559 );
560
561 // Exported permission: create url aliases.
562 $permissions['create url aliases'] = array(
563 'name' => 'create url aliases',
564 'roles' => array(
565 0 => 'administrator',
566 1 => 'editor',
567 2 => 'editor-in-chief',
568 ),
569 'module' => 'path',
570 );
571
572 // Exported permission: customize shortcut links.
573 $permissions['customize shortcut links'] = array(
574 'name' => 'customize shortcut links',
575 'roles' => array(
576 0 => 'administrator',
577 ),
578 'module' => 'shortcut',
579 );
580
581 // Exported permission: delete any article content.
582 $permissions['delete any article content'] = array(
583 'name' => 'delete any article content',
584 'roles' => array(
585 0 => 'administrator',
586 1 => 'editor-in-chief',
587 ),
588 'module' => 'node',
589 );
590
591 // Exported permission: delete any page content.
592 $permissions['delete any page content'] = array(
593 'name' => 'delete any page content',
594 'roles' => array(
595 0 => 'administrator',
596 1 => 'editor-in-chief',
597 ),
598 'module' => 'node',
599 );
600
601 // Exported permission: delete own article content.
602 $permissions['delete own article content'] = array(
603 'name' => 'delete own article content',
604 'roles' => array(
605 0 => 'administrator',
606 1 => 'editor',
607 2 => 'editor-in-chief',
608 ),
609 'module' => 'node',
610 );
611
612 // Exported permission: delete own page content.
613 $permissions['delete own page content'] = array(
614 'name' => 'delete own page content',
615 'roles' => array(
616 0 => 'administrator',
617 1 => 'editor',
618 2 => 'editor-in-chief',
619 ),
620 'module' => 'node',
621 );
622
623 // Exported permission: delete revisions.
624 $permissions['delete revisions'] = array(
625 'name' => 'delete revisions',
626 'roles' => array(
627 0 => 'administrator',
628 1 => 'editor-in-chief',
629 ),
630 'module' => 'node',
631 );
632
633 // Exported permission: delete terms in 1.
634 $permissions['delete terms in 1'] = array(
635 'name' => 'delete terms in 1',
636 'roles' => array(
637 0 => 'administrator',
638 1 => 'editor-in-chief',
639 ),
640 'module' => 'taxonomy',
641 );
642
643 // Exported permission: edit any article content.
644 $permissions['edit any article content'] = array(
645 'name' => 'edit any article content',
646 'roles' => array(
647 0 => 'administrator',
648 1 => 'editor-in-chief',
649 ),
650 'module' => 'node',
651 );
652
653 // Exported permission: edit any page content.
654 $permissions['edit any page content'] = array(
655 'name' => 'edit any page content',
656 'roles' => array(
657 0 => 'administrator',
658 1 => 'editor-in-chief',
659 ),
660 'module' => 'node',
661 );
662
663 // Exported permission: edit file.
664 $permissions['edit file'] = array(
665 'name' => 'edit file',
666 'roles' => array(
667 0 => 'administrator',
668 1 => 'editor-in-chief',
669 ),
670 'module' => 'file_entity',
671 );
672
673 // Exported permission: edit own article content.
674 $permissions['edit own article content'] = array(
675 'name' => 'edit own article content',
676 'roles' => array(
677 0 => 'administrator',
678 1 => 'editor',
679 2 => 'editor-in-chief',
680 ),
681 'module' => 'node',
682 );
683
684 // Exported permission: edit own comments.
685 $permissions['edit own comments'] = array(
686 'name' => 'edit own comments',
687 'roles' => array(
688 0 => 'administrator',
689 1 => 'authenticated user',
690 ),
691 'module' => 'comment',
692 );
693
694 // Exported permission: edit own page content.
695 $permissions['edit own page content'] = array(
696 'name' => 'edit own page content',
697 'roles' => array(
698 0 => 'administrator',
699 1 => 'editor',
700 2 => 'editor-in-chief',
701 ),
702 'module' => 'node',
703 );
704
705 // Exported permission: edit terms in 1.
706 $permissions['edit terms in 1'] = array(
707 'name' => 'edit terms in 1',
708 'roles' => array(
709 0 => 'administrator',
710 1 => 'editor-in-chief',
711 ),
712 'module' => 'taxonomy',
713 );
714
715 // Exported permission: import media.
716 $permissions['import media'] = array(
717 'name' => 'import media',
718 'roles' => array(
719 0 => 'administrator',
720 1 => 'editor',
721 2 => 'editor-in-chief',
722 ),
723 'module' => 'media',
724 );
725
726 // Exported permission: manage features.
727 $permissions['manage features'] = array(
728 'name' => 'manage features',
729 'roles' => array(
730 0 => 'administrator',
731 ),
732 'module' => 'features',
733 );
734
735 // Exported permission: node-specific print configuration.
736 $permissions['node-specific print configuration'] = array(
737 'name' => 'node-specific print configuration',
738 'roles' => array(
739 0 => 'administrator',
740 ),
741 'module' => 'print',
742 );
743
744 // Exported permission: notify of path changes.
745 $permissions['notify of path changes'] = array(
746 'name' => 'notify of path changes',
747 'roles' => array(
748 0 => 'administrator',
749 1 => 'editor-in-chief',
750 ),
751 'module' => 'pathauto',
752 );
753
754 // Exported permission: post comments.
755 $permissions['post comments'] = array(
756 'name' => 'post comments',
757 'roles' => array(
758 0 => 'administrator',
759 1 => 'authenticated user',
760 ),
761 'module' => 'comment',
762 );
763
764 // Exported permission: revert revisions.
765 $permissions['revert revisions'] = array(
766 'name' => 'revert revisions',
767 'roles' => array(
768 0 => 'administrator',
769 1 => 'editor',
770 2 => 'editor-in-chief',
771 ),
772 'module' => 'node',
773 );
774
775 // Exported permission: run security checks.
776 $permissions['run security checks'] = array(
777 'name' => 'run security checks',
778 'roles' => array(
779 0 => 'administrator',
780 ),
781 'module' => 'security_review',
782 );
783
784 // Exported permission: search content.
785 $permissions['search content'] = array(
786 'name' => 'search content',
787 'roles' => array(
788 0 => 'administrator',
789 1 => 'anonymous user',
790 2 => 'authenticated user',
791 ),
792 'module' => 'search',
793 );
794
795 // Exported permission: select account cancellation method.
796 $permissions['select account cancellation method'] = array(
797 'name' => 'select account cancellation method',
798 'roles' => array(
799 0 => 'administrator',
800 ),
801 'module' => 'user',
802 );
803
804 // Exported permission: set page title.
805 $permissions['set page title'] = array(
806 'name' => 'set page title',
807 'roles' => array(
808 0 => 'administrator',
809 1 => 'editor',
810 2 => 'editor-in-chief',
811 ),
812 'module' => 'page_title',
813 );
814
815 // Exported permission: skip comment approval.
816 $permissions['skip comment approval'] = array(
817 'name' => 'skip comment approval',
818 'roles' => array(
819 0 => 'administrator',
820 1 => 'authenticated user',
821 2 => 'editor',
822 ),
823 'module' => 'comment',
824 );
825
826 // Exported permission: switch shortcut sets.
827 $permissions['switch shortcut sets'] = array(
828 'name' => 'switch shortcut sets',
829 'roles' => array(
830 0 => 'administrator',
831 ),
832 'module' => 'shortcut',
833 );
834
835 // Exported permission: use advanced search.
836 $permissions['use advanced search'] = array(
837 'name' => 'use advanced search',
838 'roles' => array(
839 0 => 'administrator',
840 1 => 'editor',
841 2 => 'editor-in-chief',
842 ),
843 'module' => 'search',
844 );
845
846 // Exported permission: use text format filtered_html.
847 $permissions['use text format filtered_html'] = array(
848 'name' => 'use text format filtered_html',
849 'roles' => array(
850 0 => 'administrator',
851 1 => 'anonymous user',
852 2 => 'authenticated user',
853 ),
854 'module' => 'filter',
855 );
856
857 // Exported permission: use text format full_html.
858 $permissions['use text format full_html'] = array(
859 'name' => 'use text format full_html',
860 'roles' => array(
861 0 => 'administrator',
862 1 => 'editor',
863 2 => 'editor-in-chief',
864 ),
865 'module' => 'filter',
866 );
867
868 // Exported permission: view file.
869 $permissions['view file'] = array(
870 'name' => 'view file',
871 'roles' => array(
872 0 => 'administrator',
873 1 => 'anonymous user',
874 2 => 'authenticated user',
875 ),
876 'module' => 'file_entity',
877 );
878
879 // Exported permission: view own unpublished content.
880 $permissions['view own unpublished content'] = array(
881 'name' => 'view own unpublished content',
882 'roles' => array(
883 0 => 'administrator',
884 1 => 'editor',
885 2 => 'editor-in-chief',
886 ),
887 'module' => 'node',
888 );
889
890 // Exported permission: view post access counter.
891 $permissions['view post access counter'] = array(
892 'name' => 'view post access counter',
893 'roles' => array(
894 0 => 'administrator',
895 ),
896 'module' => 'statistics',
897 );
898
899 // Exported permission: view revisions.
900 $permissions['view revisions'] = array(
901 'name' => 'view revisions',
902 'roles' => array(
903 0 => 'administrator',
904 1 => 'editor',
905 2 => 'editor-in-chief',
906 ),
907 'module' => 'node',
908 );
909
910 // Exported permission: view the administration theme.
911 $permissions['view the administration theme'] = array(
912 'name' => 'view the administration theme',
913 'roles' => array(
914 0 => 'administrator',
915 ),
916 'module' => 'system',
917 );
918
919 return $permissions;
920 }