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

Restrict access by username

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5, 3.7, 3.8
    • Fix Version/s: None
    • Component/s: Conditional activities
    • Labels:
    • Testing Instructions:
      Hide

      Assuming:

      Test Account with username 'test':

       

      Check without username restriction:

      • Create an activity on a course
      • Enter nothing for restrict access based on user profile field
      • Login as 'test'
      • Go to course
      • Confirm you can still see/access the activity

       

      Check with username restriction:

      • Now edit the activity and set restrict access by profile field 'username' to anything but 'test' (or whatever username your test account has)
      • Login as 'test'
      • Go to course
      • Confirm that you are now restricted from accessing the activity
      Show
      Assuming: Test Account with username 'test':   Check without username restriction: Create an activity on a course Enter nothing for restrict access based on user profile field Login as 'test' Go to course Confirm you can still see/access the activity   Check with username restriction: Now edit the activity and set restrict access by profile field 'username' to anything but 'test' (or whatever username your test account has) Login as 'test' Go to course Confirm that you are now restricted from accessing the activity
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-63098_MOODLE_38_STABLE

      Description

      Would be good to be able to restrict access by username, as that is currently not an option, and some institutions don't use idnumber, only username.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            cwarwicker C Warwicker
            Participants:
            Component watchers:
            Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m