Moodle

Non admin roles can't edit profile | Missing setting authentificated user

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: Administration
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

All non admin user can't edit their own profile and the setting authentificated user in defaultuserroleid is missing.
This happens after updating a 1.8.beta system to 1.9 beta. A fresh new installed instance with the same code base works correct and without problems.

Moodle 1.9 beta from today (2007090600)

Issue Links

Activity

Hide
Nicolas Connault added a comment -

I just upgraded a 1.8.2 database to 1.9beta, and I cannot reproduce your problem. Non-admin users can edit their own profile without any trouble.

Show
Nicolas Connault added a comment - I just upgraded a 1.8.2 database to 1.9beta, and I cannot reproduce your problem. Non-admin users can edit their own profile without any trouble.
Hide
Colin McQueen added a comment - - edited

We have Moodle 1.9 Beta + (2007082803) upgraded from 1.82 and we thought we had this problem. However once we could set the default role as authenticated user and this fixed the problem.

Show
Colin McQueen added a comment - - edited We have Moodle 1.9 Beta + (2007082803) upgraded from 1.82 and we thought we had this problem. However once we could set the default role as authenticated user and this fixed the problem.
Hide
Tony Hall added a comment - - edited

I found a similar thing when I upgraded from 1.83 to 1.9 beta I tracked the problem back to some new role capabilities.

In version 1.9 (under Administration/Users/Permissions/Define roles) you can now set whether the user is able to "Edit own user profile"

I found once I had set this to "Allow" for the student role, moodle returned to it's "normal" behaviour.

Show
Tony Hall added a comment - - edited I found a similar thing when I upgraded from 1.83 to 1.9 beta I tracked the problem back to some new role capabilities. In version 1.9 (under Administration/Users/Permissions/Define roles) you can now set whether the user is able to "Edit own user profile" I found once I had set this to "Allow" for the student role, moodle returned to it's "normal" behaviour.
Hide
Nicolas Martignoni added a comment -

Can't reproduce on 1.9beta3. Closing.

Show
Nicolas Martignoni added a comment - Can't reproduce on 1.9beta3. Closing.
Hide
Wenxin Lu added a comment -

I had same problem today. I installed v1.9 and set default tole to guest. Then, non admin user cannot edit their profile. Thanks to Colin's comments. I set default role back to authenticated user and all are fine. There should be a warning in the setup page. It was so frustrated small problem. Luckily I can find help from here.

Show
Wenxin Lu added a comment - I had same problem today. I installed v1.9 and set default tole to guest. Then, non admin user cannot edit their profile. Thanks to Colin's comments. I set default role back to authenticated user and all are fine. There should be a warning in the setup page. It was so frustrated small problem. Luckily I can find help from here.
Hide
Petr Škoda (skodak) added a comment -

There are other legacy guest capability related problems, sorry
Unfortunately warnings will not help much here, we need to rethink the enrolment implementation in 2.0

Show
Petr Škoda (skodak) added a comment - There are other legacy guest capability related problems, sorry Unfortunately warnings will not help much here, we need to rethink the enrolment implementation in 2.0

Dates

  • Created:
    Updated:
    Resolved: