How do you prevent a role (teacher in my case) from editing a specific field in the course settings (course short name in my case)?
How do you prevent a teacher from editing the course short name?
by David Somers-Harris -
Number of replies: 3
In reply to David Somers-Harris
Re: How do you prevent a teacher from editing the course short name?
by Ângelo Rigo -
you have not this granularity . You must code an if else using has_capability function looking for some capability that the teacher can´t have like moodle:createuser
In reply to David Somers-Harris
Re: How do you prevent a teacher from editing the course short name?
by Brian Warling -
In reply to Brian Warling
Re: How do you prevent a teacher from editing the course short name?
by David Somers-Harris -
Thanks Brian! It's good to see that they're working on it