Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: allow teachers to edit and view #27

Open
bfriesenvcc opened this issue Dec 18, 2020 · 1 comment
Open

Feature request: allow teachers to edit and view #27

bfriesenvcc opened this issue Dec 18, 2020 · 1 comment

Comments

@bfriesenvcc
Copy link

Currently, it seems the ability to edit and view this data is available only to Admins and Managers. It would be great if it were available to Teachers, as well. I looked under role capabilities, but there was nothing there to change.

@bfriesenvcc
Copy link
Author

bfriesenvcc commented Jul 7, 2021

I don't know if I did this correctly, but I managed to solve my issue by changing lines 111 and 131 of the context_handler.php from moodle/course:create to moodle/course:update. Now, An teacher can see and add course metadata without having the extra rights of creating a course. We'll see if I broke anything else by doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant