materio_feedback.features.user_permission.inc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. 'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
  20. ),
  21. 'module' => 'feedback',
  22. );
  23. // Exported permission: 'administer feedback'.
  24. $permissions['administer feedback'] = array(
  25. 'name' => 'administer feedback',
  26. 'roles' => array(
  27. 'root' => 'root',
  28. ),
  29. 'module' => 'feedback',
  30. );
  31. // Exported permission: 'view feedback messages'.
  32. $permissions['view feedback messages'] = array(
  33. 'name' => 'view feedback messages',
  34. 'roles' => array(
  35. 'administrator' => 'administrator',
  36. 'root' => 'root',
  37. ),
  38. 'module' => 'feedback',
  39. );
  40. return $permissions;
  41. }