Read only Site

Read only Site

Anze Pratnemer -
Atsakymų skaičius: 2

Greetings,


I've tried following this thread: https://moodle.org/mod/forum/discuss.php?d=185443 but there is some confusion within sql query last poster uses and it doesnt work for me.

He sets permission to -1000 for view permissions, and leaves other permissions as they are. I tried setting -1000 to every OTHER permission apart from those listed and it still doesnt work. Im on 3.5 Moodle, trying to archive it to move to 3.7 ASAP.

Is there any other way to make site read only as archive?

Įvertinimų vidurkis: -
Atsakymas į Anze Pratnemer

Re: Read only Site

Andrew Lyons -
Core developers paveikslėlis Moodle HQ paveikslėlis Particularly helpful Moodlers paveikslėlis Peer reviewers paveikslėlis Plugin developers paveikslėlis Testers paveikslėlis
A new experimental feature was introduced in Moodle 3.6 for context freezing. When enabled this removes all write capability for all users (including admin).
However, you cannot apply this at the site level. Technically you may be able to in the backend, but you cannot in the UI.

In terms of your query for 3.5, you can do the same thing as you suggest, but you ned to do it for all write permissions, not read permissions.

Note: This will have some weird consequencs - students will not be able to view their assignment submissions for example. This is the reason that the feature is experimental.

Andrew