materio_bookmarks.features.user_permission.inc 865 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * @file
  4. * materio_bookmarks.features.user_permission.inc
  5. */
  6. /**
  7. * Implements hook_user_default_permissions().
  8. */
  9. function materio_bookmarks_user_default_permissions() {
  10. $permissions = array();
  11. // Exported permission: 'flag bookmarks'.
  12. $permissions['flag bookmarks'] = array(
  13. 'name' => 'flag bookmarks',
  14. 'roles' => array(
  15. 'Student' => 'Student',
  16. 'Utilisateur' => 'Utilisateur',
  17. 'administrator' => 'administrator',
  18. 'root' => 'root',
  19. ),
  20. 'module' => 'flag',
  21. );
  22. // Exported permission: 'unflag bookmarks'.
  23. $permissions['unflag bookmarks'] = array(
  24. 'name' => 'unflag bookmarks',
  25. 'roles' => array(
  26. 'Student' => 'Student',
  27. 'Utilisateur' => 'Utilisateur',
  28. 'administrator' => 'administrator',
  29. 'root' => 'root',
  30. ),
  31. 'module' => 'flag',
  32. );
  33. return $permissions;
  34. }