Moodle
  1. Moodle
  2. MDL-10098

provide some means of detecting a user's roles

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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
    • Rank:
      9118

      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.

        Issue Links

          Activity

          Hide
          Arnaud saint-Georges added a comment -

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

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

          As part of the roles interface work

          Show
          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: