dokeos
[ class tree: dokeos ] [ index: dokeos ] [ all elements ]

Source for file all_permissions.inc.php

Documentation is available at all_permissions.inc.php

  1. <?php
  2. /**
  3. * In this page all the possible rights inside a course are defined.
  4. * This is the start for the Matrix that you'll use to assign rights to
  5. * a user, group or role
  6. @author Patrick Cool <patrick.cool@ugent.be>, Ghent University
  7. */
  8.  
  9. // possible permissions
  10. $rights_full=array("View","Add","Edit","Delete","Visibility","Move");
  11. $rights_limited=array("Add","Edit","Delete");
  12.  
  13.  
  14. // first we determine what can be done in each tool. We do this for each tool.
  15. $tool_rights[TOOL_LINK]=array("View","Add","Edit","Delete","Visibility""Move");
  16. $tool_rights[TOOL_DOCUMENT]=array("View","Add","Edit","Delete","Visibility","Move");
  17. //$tool_rights[TOOL_CALENDAR_EVENT]=array("View","Add","Edit","Delete","Visibility");
  18. $tool_rights[TOOL_ANNOUNCEMENT]=array("View","Add","Edit","Delete","Visibility""Move");
  19. //$tool_rights[TOOL_STUDENTPUBLICATION]=array("View","Edit","Delete","Visibility");
  20. //$tool_rights[TOOL_COURSE_DESCRIPTION]=array("View","Add","Edit","Delete","Visibility");
  21. //$tool_rights[TOOL_LEARNPATH]=array("View","Add","Edit","Delete","Visibility");
  22. //$tool_rights[TOOL_BB_FORUM]=array("View","Add","Edit","Delete");
  23. //$tool_rights[TOOL_BB_POST]=array("View","Add","Edit","Delete");
  24. //$tool_rights[TOOL_DROPBOX]=array("View","Add","Delete");
  25. //$tool_rights[TOOL_QUIZ]=array("View","Add","Edit","Delete","Visibility");
  26. $tool_rights[TOOL_USER]=array("View","Add","Edit","Delete");
  27. //$tool_rights[TOOL_GROUP]=array("View","Add","Edit","Delete");
  28. //$tool_rights[TOOL_CHAT]=array("View","Delete");
  29. //$tool_rights[TOOL_CONFERENCE]=array("View","Add","Edit","Delete");
  30. //$tool_rights[TOOL_STUDENTPUBLICATION]=array("View","Add","Edit","Delete");
  31.  
  32. // this value can be checkbox or image
  33. $setting_visualisation='image';
  34.  
  35. ?>

Documentation generated on Thu, 12 Jun 2008 12:57:35 -0500 by phpDocumentor 1.4.1