Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21782 Major 2.0 enrolments rewrite META
  3. MDL-23117

UI for not-enrolled users with a role in the course

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Enrolments
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The idea is to completely remove role_assignment interface at the course level, we already have enrolled users UI which allows users to assign roles and groups.
      The only potential problem is how to remove course administrators and other system wide people that teachers should not see.

      The current logic is in other areas is:
      1/ course participants page (/user/index.php) that is the page where both teachers and users see other course participants and their roles, we should only people with profile roles specified in $CFG->profileroles (usually tacher, editing teacher and student role); separate groups are in effect
      2/ enrolled users UI (/enrol/users.php) this is intended for editing teachers only with right to see and usually manage all course enrolments

      There is already a stub file in /enrol/otherusers.php - I suppose we should create a new capability which grants access to this information.

      UI features:
      1/ view all users in course or parent context
      2/ add and remove roles

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              dougiamas Martin Dougiamas
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10