Commit Graph

51 Commits

Author SHA1 Message Date
toyomoyo 8305aeaaa8 putting user/editprofile back 2007-03-15 08:30:36 +00:00
toyomoyo 2f5ab42bc0 merged fix for MDL-7939, teachers, editting-teachers and course creators should see hidden courses 2007-03-15 04:23:21 +00:00
skodak 5e992f564b MDL-8867 Add setting to define role that is assigned to creators in new courses
MDL-8868 Set only minimal permissions for creator role

+ improved accesslib to handle changes of context levels in capability definitions

merged from MOODLE_18_STABLE
2007-03-14 21:42:38 +00:00
toyomoyo 4b7ae3c4da merged fix for MDL-8885, editting teacher should be able to read all messages in course 2007-03-14 01:37:07 +00:00
skodak 224aa44a8d MDL-7693 fixed participans block on frontpage; notloggedin and authenticated roles overrides to be fixed later in separate bug; merged from MOODLE_18_STABLE 2007-03-05 20:13:16 +00:00
vyshane 2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
skodak c785d40ac3 MDL-8373 Add new predefined role "Authenticated user" for all logged in users 2007-01-31 21:05:32 +00:00
martinlanghoff f509ce0657 lib/db/access: Capability for roaming to remote Moodles
Author: Donal McMullan <donal@catalyst.net.nz>
2007-01-04 03:30:37 +00:00
toyomoyo 22ae509e9c merged implementing moodle/user:viewdetails 2006-12-07 06:14:52 +00:00
moodler c5c1ec895b Non-editing teachers should NOT have course import capability by default 2006-12-06 02:24:18 +00:00
skodak 5a8ab2e9df adding of user events into calendar and posting of blogs is now enabled by default - MDL-7297 and MDL-7245; merged from MOODLE_17_STABLE 2006-10-31 09:09:40 +00:00
skodak bcdb0f193d fixed risks associated with main capabilitites MDL-7174; merged from MOODLE_17_STABLE 2006-10-24 08:02:26 +00:00
moodler bface4fe3c Merged fix for MDL-6910 2006-10-11 06:25:45 +00:00
moodler 2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
toyomoyo 4473252d7c changing default capabilities for coursecreators so that they could create courses 2006-10-10 03:03:17 +00:00
toyomoyo 7246585a70 setting default value for backup/restore capabilities for teacheredit and coursecreators 2006-10-10 02:52:08 +00:00
moodler 6c95827fdf New implementation of loginas see MDL-6626 2006-10-01 05:46:55 +00:00
toyomoyo ed59cd6ea4 fix for MDL-5670 2006-09-29 02:19:27 +00:00
moodler 2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
moodler 77c645df28 Started out fixing MDL-6624 and it turned into a fairly major cleanup
of the participant listing.  I think it's a lot better now.

Bulk messaging fixed too, and is controlled by a new capability

      moodle/course:bulkmessaging
2006-09-28 06:41:07 +00:00
skodak 6df3c7df7a user upload cap renamed to moodle/site:uploadusers 2006-09-24 12:54:53 +00:00
skodak cc891abe88 uploading of users has new capability 'moodle/user:upload' now also with admin block integrated 2006-09-24 12:31:49 +00:00
moodler 861fdcaa28 Changing defaults for role assigning (teachers, coursecreators allowed) 2006-09-21 16:02:39 +00:00
moodler 20dd4cf5a1 Added new capability to switch roles (replaces old student view) 2006-09-21 07:44:53 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
toyomoyo dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00
skodak a6b02b652b RISK_ADMIN replaced with RISK_CONFIG 2006-09-19 07:33:22 +00:00
skodak b79da3ac68 moodle/course:managemetacourse is now singular 2006-09-19 06:35:52 +00:00
skodak 21b6db6eff added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum 2006-09-18 21:32:49 +00:00
vyshane 840c1c31fa Added moodle/site:viewparticipants 2006-09-18 09:02:12 +00:00
skodak 4b7aaf4025 added new capability 'moodle/course:managemetacourses' 2006-09-17 21:03:35 +00:00
moodler 99f9cb51e0 Added new capability
moodle/role:viewhiddenassigns  - for people to see hidden assignments
2006-09-16 13:56:24 +00:00
moodler e58eca7222 New capability: moodle/user:viewhiddendetails 2006-09-15 14:39:16 +00:00
moodler 4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
vyshane 73b73d2101 More capabilities tweaks 2006-09-13 04:09:31 +00:00
moodler b0f5523038 Missed one capability for guests 2006-09-12 08:15:07 +00:00
moodler 00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
toyomoyo 1c45e42e3c adding capabilities 2006-09-11 08:56:23 +00:00
toyomoyo 51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
toyomoyo ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
moodler f43ce1ad1d Added moodle/role:unassignself which replaces $CFG->allowunenroll 2006-09-07 08:35:30 +00:00
toyomoyo 3924b9884b adding capabilities 2006-09-05 08:50:23 +00:00
moodler 7191a1fa27 Added capability for showing documentation links 2006-09-03 16:26:55 +00:00
skodak 7d8a3cb06a trusttext:
* proposed by Martin Dougiamas
 * implemented by skodak

Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...

done:
 * core
 * glossary (without proper upgrade)

to do:
 * data cleaning in upgrades
 * forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
toyomoyo 945f88ca15 various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib 2006-08-23 06:36:08 +00:00
toyomoyo 68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00
toyomoyo 77d4953ee2 bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php 2006-08-16 07:57:51 +00:00
vyshane a028c29187 Added new capabilities 2006-08-15 04:13:22 +00:00
vyshane 53d7785b4a Added moodle/site:viewfullnames 2006-08-09 09:16:35 +00:00
vyshane 27950688bb Added moodle/site:accessallgroups capability. 2006-08-08 06:45:25 +00:00