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

provide some means of detecting a user's roles

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8, 1.8.1, 1.9
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      There is currently (I think) no way to get a list of roles that a user is assigned to. This can trip you up big time if assigning a user to a role when they are already assigned in a "higher" context. It would be nice to able to check or (perhaps even better) to be warned of possible conflicts.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            saint-georges Arnaud saint-Georges added a comment -

            The plugin "Assign one user" exactly do that...

            Show
            saint-georges Arnaud saint-Georges added a comment - The plugin "Assign one user" exactly do that...
            Hide
            dougiamas Martin Dougiamas added a comment -

            As part of the roles interface work

            Show
            dougiamas Martin Dougiamas added a comment - As part of the roles interface work

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: