Moodle

Creating new users manually should allow only enabled authentication methods...

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9, 2.0
  • Fix Version/s: DEV backlog
  • Component/s: Authentication
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

When users are created manually (from Admin->Users->Add User), all the auth plugins appear in the list.

IMO, only enabled plugins should be displayed.

Ciao

Activity

Hide
Petr Škoda (skodak) added a comment -

There are other missing checks too - this was intentional, I think it can be sometimes handy, voting for "Will not fix"

Show
Petr Škoda (skodak) added a comment - There are other missing checks too - this was intentional, I think it can be sometimes handy, voting for "Will not fix"
Hide
Michael Penney added a comment -

Please re-open, this causes lots of problems for our users - users should not be able to assign people to auth types that are not enabled via the GUI, this is very confusing for users and I really can see no reason to show auth types that the admin has not enabled or have turned off.

Show
Michael Penney added a comment - Please re-open, this causes lots of problems for our users - users should not be able to assign people to auth types that are not enabled via the GUI, this is very confusing for users and I really can see no reason to show auth types that the admin has not enabled or have turned off.
Hide
Petr Škoda (skodak) added a comment -

Only admins may use this script - why do you say "users", this script does not have any safety implemented intentionally - because it is intended for any (even unexpected) account modifications. I certainly can imagine cases when you want to change user auth type and also create new users with disabled auths.

The main problem is we must not remove features in stable branch, I am sure soon there would be somebody complaining we removed something useful for him.

I think technically it would be best to add a new, much more restricted "add user" page.

Show
Petr Škoda (skodak) added a comment - Only admins may use this script - why do you say "users", this script does not have any safety implemented intentionally - because it is intended for any (even unexpected) account modifications. I certainly can imagine cases when you want to change user auth type and also create new users with disabled auths. The main problem is we must not remove features in stable branch, I am sure soon there would be somebody complaining we removed something useful for him. I think technically it would be best to add a new, much more restricted "add user" page.

People

Dates

  • Created:
    Updated: