frequently_asked_questions.features.user_permission.inc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?php
  2. /**
  3. * @file
  4. * frequently_asked_questions.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function frequently_asked_questions_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'administer faq'.
  12. $permissions['administer faq'] = array(
  13. 'name' => 'administer faq',
  14. 'roles' => array(
  15. 'root' => 'root',
  16. ),
  17. 'module' => 'faq',
  18. );
  19. // Exported permission: 'administer faq order'.
  20. $permissions['administer faq order'] = array(
  21. 'name' => 'administer faq order',
  22. 'roles' => array(
  23. 'administrator' => 'administrator',
  24. 'root' => 'root',
  25. ),
  26. 'module' => 'faq',
  27. );
  28. // Exported permission: 'create faq content'.
  29. $permissions['create faq content'] = array(
  30. 'name' => 'create faq content',
  31. 'roles' => array(
  32. 'administrator' => 'administrator',
  33. 'root' => 'root',
  34. ),
  35. 'module' => 'node',
  36. );
  37. // Exported permission: 'delete any faq content'.
  38. $permissions['delete any faq content'] = array(
  39. 'name' => 'delete any faq content',
  40. 'roles' => array(
  41. 'administrator' => 'administrator',
  42. 'root' => 'root',
  43. ),
  44. 'module' => 'node',
  45. );
  46. // Exported permission: 'delete own faq content'.
  47. $permissions['delete own faq content'] = array(
  48. 'name' => 'delete own faq content',
  49. 'roles' => array(
  50. 'administrator' => 'administrator',
  51. 'root' => 'root',
  52. ),
  53. 'module' => 'node',
  54. );
  55. // Exported permission: 'edit any faq content'.
  56. $permissions['edit any faq content'] = array(
  57. 'name' => 'edit any faq content',
  58. 'roles' => array(
  59. 'administrator' => 'administrator',
  60. 'root' => 'root',
  61. ),
  62. 'module' => 'node',
  63. );
  64. // Exported permission: 'edit own faq content'.
  65. $permissions['edit own faq content'] = array(
  66. 'name' => 'edit own faq content',
  67. 'roles' => array(
  68. 'root' => 'root',
  69. ),
  70. 'module' => 'node',
  71. );
  72. // Exported permission: 'enter faq revision log entry'.
  73. $permissions['enter faq revision log entry'] = array(
  74. 'name' => 'enter faq revision log entry',
  75. 'roles' => array(),
  76. 'module' => 'override_node_options',
  77. );
  78. // Exported permission: 'override faq authored by option'.
  79. $permissions['override faq authored by option'] = array(
  80. 'name' => 'override faq authored by option',
  81. 'roles' => array(),
  82. 'module' => 'override_node_options',
  83. );
  84. // Exported permission: 'override faq authored on option'.
  85. $permissions['override faq authored on option'] = array(
  86. 'name' => 'override faq authored on option',
  87. 'roles' => array(),
  88. 'module' => 'override_node_options',
  89. );
  90. // Exported permission: 'override faq promote to front page option'.
  91. $permissions['override faq promote to front page option'] = array(
  92. 'name' => 'override faq promote to front page option',
  93. 'roles' => array(),
  94. 'module' => 'override_node_options',
  95. );
  96. // Exported permission: 'override faq published option'.
  97. $permissions['override faq published option'] = array(
  98. 'name' => 'override faq published option',
  99. 'roles' => array(),
  100. 'module' => 'override_node_options',
  101. );
  102. // Exported permission: 'override faq revision option'.
  103. $permissions['override faq revision option'] = array(
  104. 'name' => 'override faq revision option',
  105. 'roles' => array(),
  106. 'module' => 'override_node_options',
  107. );
  108. // Exported permission: 'override faq sticky option'.
  109. $permissions['override faq sticky option'] = array(
  110. 'name' => 'override faq sticky option',
  111. 'roles' => array(),
  112. 'module' => 'override_node_options',
  113. );
  114. // Exported permission: 'view faq page'.
  115. $permissions['view faq page'] = array(
  116. 'name' => 'view faq page',
  117. 'roles' => array(
  118. 'authenticated user' => 'authenticated user',
  119. 'root' => 'root',
  120. ),
  121. 'module' => 'faq',
  122. );
  123. return $permissions;
  124. }