Help! can no longer edit one of my classes!

Help! can no longer edit one of my classes!

Ian Thomson -
回帖数: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

回复Ian Thomson

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

Mathieu Petit-Clair -
Core developers的头像 Moodle HQ的头像 MoodleCloud team的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 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.



回复Ian Thomson

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

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 微笑

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

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

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

回复Ian Thomson

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

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.