Help! can no longer edit one of my classes!

Help! can no longer edit one of my classes!

by Ian Thomson -
Number of replies: 4

Hi guys

One of my classes has suddenlly become uneditable

I am an administrator, so It shouldn't be a permissions issue

Any ideas on what has happened?

Cheers

Ian

I have attached a screenshot if that helps

Average of ratings: -
In reply to Ian Thomson

Re: Help! can no longer edit one of my classes!

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hmm.. The snapshot is actually html code saved from the page...

Looking at the code, the only case where this happens is if you are not an administrator for this course. Maybe an override was added for this course?

Is there someone else who is an admin on your site and who could have a look? Otherwise, you might have to use phpMyAdmin to have a look straight in the database.



In reply to Ian Thomson

Re: Help! can no longer edit one of my classes!

by John Isner -
Ian,
When you say "It shouldn't be a permissions issue" it suggests that you have done something with permissions, and you're assuming that whatever you did couldn't possibly be affecting you. If so, that would be an incorrect assumption smile

If recently modified any permissions, what changes did you make? What is your version of Moodle?
In reply to John Isner

Re: Help! can no longer edit one of my classes!

by Ian Thomson -

Hi Guys

I must haver done something with the permissions, as I have reset them to the default settings, and it appears to be working fine now!

weird...

Thanks for your help!

P.S any perceived problems (from your experience) with having the permissions on default for a testing site?

Cheers

Ian

In reply to Ian Thomson

Re: Help! can no longer edit one of my classes!

by John Isner -
No, it's not weird. Permissions allow you to fiddle with the core functionality of Moodle. If you're an administrator, you can lock yourself out, effectively shutting down your site. Moodle does not question your judgement when you do something with permissions. It assumes you know what you're doing. Its attitude is "You asked for it, you got it."

I would leave permissions alone, even on a test site, unless the purpose of the test site was to experiment and learn about permissions. And if that's what you're doing, be sure you can access the database directly, or be prepared to reinstall Moodle, in case you make a serious mistake.