Moodle read-only

Moodle read-only

by Peter Easton -
Number of replies: 1

HI All,

I've been tasked with creating an archive of our old moodle server now that we've migrated to 2.x.

Is it possible to make the installation read-only?
I've crippled the db user to be only RO, but how do i set the course materials and other user items so they cant be modified and still allow people to login and review the courses?

 

Thanks

Pete

Average of ratings: -
In reply to Peter Easton

Re: Moodle read-only

by Alex Walker -

Setting the database user to read-only probably won't work, as Moodle does write to the database even when you're only looking at the site. For example:

  • The moodle log table.
  • The 'last logged in' and 'last accessed' time of users (and possibly courses).

I think your best option is to use roles to take permissions away from users. You could create a new role called 'Read Only', with any edit permissions set to 'Prohibit', and apply it to every user on the site.