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

New capability to control role renaming

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.7.7, 2.8
    • Fix Version/s: 3.1
    • Component/s: Roles / Access
    • Labels:
    • Testing Instructions:
      Hide

      Run notifications to allow new 'moodle/course:renameroles' capability to be created
      Check the editing teacher + manager roles have the capability
      Login as a user with the capability
      Go to course settings page and rename a role
      Remove the 'moodle/course:renameroles' capability from the editing teacher + manager roles
      Login as an editing teacher
      Check you can succesfully edit a courses settings but cannot see the rename roles section of the form.

      Show
      Run notifications to allow new 'moodle/course:renameroles' capability to be created Check the editing teacher + manager roles have the capability Login as a user with the capability Go to course settings page and rename a role Remove the 'moodle/course:renameroles' capability from the editing teacher + manager roles Login as an editing teacher Check you can succesfully edit a courses settings but cannot see the rename roles section of the form.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:

      Description

      It would be nice if a role could be defined where role renaming is prohibited in the course settings. I can do the same for other course settings like the ability to change the course ID, name, guest access, and so on, but not disable the ability to rename roles.

      I think this request is related to http://tracker.moodle.org/browse/MDL-22928.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                18 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16