materio_feedback.features.user_permission.inc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * @file
  4. * materio_feedback.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function materio_feedback_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'access feedback form'.
  12. $permissions['access feedback form'] = array(
  13. 'name' => 'access feedback form',
  14. 'roles' => array(
  15. 'Adhérent' => 'Adhérent',
  16. 'Premium' => 'Premium',
  17. 'Student' => 'Student',
  18. 'Utilisateur' => 'Utilisateur',
  19. ),
  20. 'module' => 'feedback',
  21. );
  22. // Exported permission: 'administer feedback'.
  23. $permissions['administer feedback'] = array(
  24. 'name' => 'administer feedback',
  25. 'roles' => array(
  26. 'root' => 'root',
  27. ),
  28. 'module' => 'feedback',
  29. );
  30. // Exported permission: 'view feedback messages'.
  31. $permissions['view feedback messages'] = array(
  32. 'name' => 'view feedback messages',
  33. 'roles' => array(
  34. 'administrator' => 'administrator',
  35. 'root' => 'root',
  36. ),
  37. 'module' => 'feedback',
  38. );
  39. return $permissions;
  40. }