Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.6.2
-
Fix Version/s: None
-
Component/s: Database activity module
-
Labels:None
-
Database:Any
-
Affected Branches:MOODLE_16_STABLE
Description
A new option is added to all field that can be added to a database:
"Data can be modified" followed by a list box containing these options :
by everyone (default)
by teachers only
by teachers and the owner only
by teachers and the owner's group only
If a user open a data record for modification and doesn't have the proper permission to edit a field, the field is not displayed and replaced with a message: (modification not allowed)
The attached file contains the files necessary to resolve this as well as entry MDL-5583 (http://tracker.moodle.org/browse/MDL-5583)
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-5583 | allow teachers to specify certain fields in database activity as required |
|
|
|
Thanks, Laurent, I really appreciate you efforts.
Unfortunately I can't use these patches because they are against 1.6 .... in the stable branches we don't add new features. In 1.7 we've changed the roles a lot (students and teachers can no longer be taken for granted) so the logic needs to be re-thought using the new API for capabilities
See: http://docs.moodle.org/en/Roles
And: http://download.moodle.org
Cheers