Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 1.9.4
-
Component/s: Roles / Access
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
Steps to reproduce:
1. Set defaultfrontpageroleid to guest in Administration > Front Page > Front Page settings
2. Logout then login again as admin
3. Attempt to post in site news forum
The admin is able to edit and delete existing posts in the site news forum, but the "Add a new discussion topic" button is missing.
This problem is also reported in a forum: http://moodle.org/mod/forum/discuss.php?d=97531
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-14953 | Setting defaultfrontpageroleid to none results in nonsense site news message for logged-in users |
|
|
|
| MDL-14869 | Even primary admin can't start discussion on front page news forum until he explicitly assigned to the role in the front page course |
|
|
|
| MDL-17949 | List of problems related to potential enrolment rewrite in 2.0 - META |
|
|
|
IMO it hasn't any sense to select "guest" role there. That's the expected behaviour if "none" is selected.
In any case, to fix this I would:
1) Add inline help to that setting (currently there isn't anything there).
2) Hide "guests" from that list.
3) Switch current sites with "guests" there back to "none".
4) Make "doanything" capability to have precedence over any prohibit. This will save this an a lot of others "admin locked" situations.
Note that 4) can make 2 & 3 unnecesary (but only for admins, not for teachers and other roles not having the "doanything" capability), so all the points should be addressed.
Please comment... adding some watchers... ciao