materio_bookmarks.features.user_permission.inc 789 B

123456789101112131415161718192021222324252627282930313233343536
  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. 'administrator' => 'administrator',
  17. 'root' => 'root',
  18. ),
  19. 'module' => 'flag',
  20. );
  21. // Exported permission: 'unflag bookmarks'.
  22. $permissions['unflag bookmarks'] = array(
  23. 'name' => 'unflag bookmarks',
  24. 'roles' => array(
  25. 'Student' => 'Student',
  26. 'administrator' => 'administrator',
  27. 'root' => 'root',
  28. ),
  29. 'module' => 'flag',
  30. );
  31. return $permissions;
  32. }