123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- /**
- * In this page all the possible rights inside a course are defined.
- * This is the start for the Matrix that you'll use to assign rights to
- * a user, group or role.
- *
- * @author Patrick Cool <patrick.cool@ugent.be>, Ghent University
- *
- * @package chamilo.permissions
- */
- // possible permissions
- $rights_full = ["View", "Add", "Edit", "Delete", "Visibility", "Move"];
- $rights_limited = ["Add", "Edit", "Delete"];
- // first we determine what can be done in each tool. We do this for each tool.
- $tool_rights[TOOL_LINK] = [
- "View",
- "Add",
- "Edit",
- "Delete",
- "Visibility",
- "Move",
- ];
- $tool_rights[TOOL_DOCUMENT] = [
- "View",
- "Add",
- "Edit",
- "Delete",
- "Visibility",
- "Move",
- ];
- //$tool_rights[TOOL_CALENDAR_EVENT]=array("View","Add","Edit","Delete","Visibility");
- $tool_rights[TOOL_ANNOUNCEMENT] = [
- "View",
- "Add",
- "Edit",
- "Delete",
- "Visibility",
- "Move",
- ];
- //$tool_rights[TOOL_STUDENTPUBLICATION]=array("View","Edit","Delete","Visibility");
- //$tool_rights[TOOL_COURSE_DESCRIPTION]=array("View","Add","Edit","Delete","Visibility");
- //$tool_rights[TOOL_LEARNPATH]=array("View","Add","Edit","Delete","Visibility");
- //$tool_rights[TOOL_BB_FORUM]=array("View","Add","Edit","Delete");
- //$tool_rights[TOOL_BB_POST]=array("View","Add","Edit","Delete");
- //$tool_rights[TOOL_DROPBOX]=array("View","Add","Delete");
- //$tool_rights[TOOL_QUIZ]=array("View","Add","Edit","Delete","Visibility");
- $tool_rights[TOOL_USER] = ["View", "Add", "Edit", "Delete"];
- //$tool_rights[TOOL_GROUP]=array("View","Add","Edit","Delete");
- //$tool_rights[TOOL_CHAT]=array("View","Delete");
- //$tool_rights[TOOL_STUDENTPUBLICATION]=array("View","Add","Edit","Delete");
- // this value can be checkbox or image
- $setting_visualisation = 'image';
|