Read Only Site

Re: Read Only Site

by Chris Lewis -
Number of replies: 2

Yes, but we had to modify it just a little.  Instead of commenting out a line in /lib/datalib.php I just added "$CFG->noemailever = true;" to the config.php and I had to grant a few more inserts and updates to some of the tables.  I have done this on 2.2 and 2.4 and it is working fine.

Average of ratings: Useful (1)
In reply to Chris Lewis

Re: Read Only Site

by Hittesh Ahuja -

Hi Chris,

Possible for you to share the tables that you granted insert and update permissions to ?


Regards,

Hittesh 

In reply to Hittesh Ahuja

Re: Read Only Site

by toby saunders -

mdl_log

mdl_logstore_standard_log

mdl_log_queries

mdl_log_display

mdl_mnet_log

mdl_profiling

mdl_sessions

mdl_user_lastaccess

mdl_user

These enabled me to log in and view content - not sure they are all needed