Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-6821

allow teachers to specify who is allowed to edit a field

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Inactive
    • Affects Version/s: 1.6.2
    • Fix Version/s: None
    • 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)

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            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

            Show
            dougiamas Martin Dougiamas added a comment - 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
            Hide
            ldom Laurent Domenech added a comment -

            Not a problem. Thanks for the download link, I didn't see it previously. I'm going to redo this over the 1.7. It will take me a little more time.

            Show
            ldom Laurent Domenech added a comment - Not a problem. Thanks for the download link, I didn't see it previously. I'm going to redo this over the 1.7. It will take me a little more time.
            Hide
            ldom Laurent Domenech added a comment -

            This file contains the fixes (for just this issue) made and tested on the latest 1.7.

            Show
            ldom Laurent Domenech added a comment - This file contains the fixes (for just this issue) made and tested on the latest 1.7.
            Hide
            roal Robert Allerstorfer added a comment -

            Is there a patch available also against 1.9+? Would like to try.

            Show
            roal Robert Allerstorfer added a comment - Is there a patch available also against 1.9+? Would like to try.
            Hide
            marina Marina Glancy added a comment -

            We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible.

            ==BLK2YIMP20141121==

            Show
            marina Marina Glancy added a comment - We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible. ==BLK2YIMP20141121==

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: