Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.3
-
Fix Version/s: None
-
Component/s: Administration
-
Labels:None
-
Difficulty:Moderate
-
Affected Branches:MOODLE_19_STABLE
Description
On the security report available on the latest moodle_19_weekly, the XSS trusted users warning appears when users has the Teacher role in the course context.
While it is correct that the teacher role should be assigned to trusted users, the warning may suggest assigning teacher in courses is dangerous.
Wouldn't be preferable to fire a more moderate message when the Teacher role is detected in course contexts or better explain the reason we warn users?
A good starting point could be to present the list of users (showed on the Risk explanation page) with the role they have and in which context. This could help to better understand the real risk condition.
Unfortunately assigning teachers is VERY risky
Solution could be to add new UI for user trusts and display only users that do not have the XSS trust bit set in trust bitmask