Error "Edit not permitted"
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Aug 22, 2016 1:57 pm
Error "Edit not permitted"
Hi,
It seems like problem started after last update to 3.6.2.
Before that, users could create, delete and edit articles at the backend,
but now when article is clicked for editing an error message shows at the top of the article list:
"Error
Edit not permitted."
It is still possible to delete article and create a new one.
What could be the problem?
Thank you in advance.
It seems like problem started after last update to 3.6.2.
Before that, users could create, delete and edit articles at the backend,
but now when article is clicked for editing an error message shows at the top of the article list:
"Error
Edit not permitted."
It is still possible to delete article and create a new one.
What could be the problem?
Thank you in advance.
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Error "Edit not permitted"
There are 2 issues that might be causing this problem:
- Corruption in the ACL (access control list)
- Corruption in the assets table
Backup your website and try fixing both. For the ACL you can use the ACL Manager extension, and for the assets, you can follow this official guide: https://docs.joomla.org/Fixing_the_assets_table
Just make sure that you backup your website (especially the database) once you do this - this is a very dangerous area and it might cause serious issues if things go wrong there.
- Corruption in the ACL (access control list)
- Corruption in the assets table
Backup your website and try fixing both. For the ACL you can use the ACL Manager extension, and for the assets, you can follow this official guide: https://docs.joomla.org/Fixing_the_assets_table
Just make sure that you backup your website (especially the database) once you do this - this is a very dangerous area and it might cause serious issues if things go wrong there.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Aug 22, 2016 1:57 pm
Re: Error "Edit not permitted"
Thank you very much for your post.
I tried your suggestion. There is no problem in the assets table.
As for the ACL, I did not buy the ACL manager extension, because I don't now how it would help. I have a user in a user group which inherited "not allowed" setting from its parent (Public), for every action except Access Admin Interface. Further, this usergroup is allowed every action in Category X, which results in calculated Allowed for every action for the Articles in this Category.
However, when this user clicks on the article for edit, it throws up "Edit not permitted" Error.
If I change Global or Article component settings to allow edit for this user group, then user can edit articles from Category X, but off course, also every other article from every other category which I don't want.
Now, today I figured that few days ago, an update process (3.6.1 to 3.6.2) was started but not finished (I foolishly missed to deny access to admin interface in Global config , so one of my users thought it would be fun to check wath's that button for, pressed it, and then panicked and stopped the process. Totally my fault .).
I tried to reinstall 3.6.2 version through admin and directly on server but the problem is always the same.
Do you still think ACL would help, or something else can be done.
Thank you in advance.
I tried your suggestion. There is no problem in the assets table.
As for the ACL, I did not buy the ACL manager extension, because I don't now how it would help. I have a user in a user group which inherited "not allowed" setting from its parent (Public), for every action except Access Admin Interface. Further, this usergroup is allowed every action in Category X, which results in calculated Allowed for every action for the Articles in this Category.
However, when this user clicks on the article for edit, it throws up "Edit not permitted" Error.
If I change Global or Article component settings to allow edit for this user group, then user can edit articles from Category X, but off course, also every other article from every other category which I don't want.
Now, today I figured that few days ago, an update process (3.6.1 to 3.6.2) was started but not finished (I foolishly missed to deny access to admin interface in Global config , so one of my users thought it would be fun to check wath's that button for, pressed it, and then panicked and stopped the process. Totally my fault .).
I tried to reinstall 3.6.2 version through admin and directly on server but the problem is always the same.
Do you still think ACL would help, or something else can be done.
Thank you in advance.
- JAVesey
- Joomla! Hero
- Posts: 2637
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Error "Edit not permitted"
Maybe I'm being a bit dim here but:Vlade wrote:It is still possible to delete article and create a new one.
1. Is this with all (existing) articles or only a few?
2. Front-end and/or back-end editing?
3. Are all your articles "checked-in"?
4. In admin, have you tried Extensions --> Database --> Fix? Whilst you're there, anything showing in "Warnings"?
I'm a big fan of ACL Manager; the modest cost for a 6 month subscription is well worth it in time saved if your issue really is ACL related. It will also fix your asset table; you'll be amazed at the number of errors when you first run it - at least, I was
Can you check /logs/joomla_update.php - what does the last line say?Vlade wrote:I tried to reinstall 3.6.2 version through admin and directly on server but the problem is always the same.
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Aug 22, 2016 1:57 pm
Re: Error "Edit not permitted"
Hello John,
thank you very much for your reply.
Just as a reminder, all was working nicely before the update attempt.
The last line of the joomla_update.php says "... Starting installation of new version."
Thanks!
thank you very much for your reply.
1. This is issue with all articles - also with the newly created.JAVesey wrote:1. Is this with all (existing) articles or only a few?
2. It's all happening at the back-end.JAVesey wrote:2. Front-end and/or back-end editing?
3. All articles are checked-in.JAVesey wrote:3. Are all your articles "checked-in"?
4. As a matter of fact I did the fix of database yesterday because it showed some Warnings.JAVesey wrote:4. In admin, have you tried Extensions --> Database --> Fix? Whilst you're there, anything showing in "Warnings"?
Just as a reminder, all was working nicely before the update attempt.
The last line of the joomla_update.php says "... Starting installation of new version."
Maybe it is worth to give it a shot.JAVesey wrote:I'm a big fan of ACL Manager; the modest cost for a 6 month subscription is well worth it in time saved if your issue really is ACL related. It will also fix your asset table; you'll be amazed at the number of errors when you first run it - at least, I was
Thanks!
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Error "Edit not permitted"
Hi Vlade,
May I ask how you know that there is no error in the assets table? Errors in the assets table are very very subtle (a 0 instead of 1 in just one row can bring the whole website down) and I'm not sure how you analyzed that there are no errors there without using a tool (if you used a tool, can you please let us know which one it is).
May I ask how you know that there is no error in the assets table? Errors in the assets table are very very subtle (a 0 instead of 1 in just one row can bring the whole website down) and I'm not sure how you analyzed that there are no errors there without using a tool (if you used a tool, can you please let us know which one it is).
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Aug 22, 2016 1:57 pm
Re: Error "Edit not permitted"
Hi itoctopus,
because this error ocures with all articles I presumed (obviously wrongly) that it is enough to check assets table for the levels of several randomly chosen articles and their parents up to the root level.
I see that ACL Manager has great reviews. Is there any extension nearly good enough that can check assets tables for free?
Thank you very much for your time.
because this error ocures with all articles I presumed (obviously wrongly) that it is enough to check assets table for the levels of several randomly chosen articles and their parents up to the root level.
I see that ACL Manager has great reviews. Is there any extension nearly good enough that can check assets tables for free?
Thank you very much for your time.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Error "Edit not permitted"
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
- JAVesey
- Joomla! Hero
- Posts: 2637
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Error "Edit not permitted"
This might give a big clue. Doesn't look like your update completed.Vlade wrote:The last line of the joomla_update.php says "... Starting installation of new version."
Can you try Components --> Joomla! Update and click on the "Reinstall Joomla core files" button (organs button is you're using the Isis Admin Template).
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Aug 22, 2016 1:57 pm
Re: Error "Edit not permitted"
First of all, I want to thank you all for your help.
I tried all of the suggestions but unfortunately, nothing worked.
Then I stumbled upon the solution at https://github.com/joomla/joomla-cms/pull/11511 .
For the future reference I am giving the outcomes of your suggestions:
Great forum, thanks a lot again .
I tried all of the suggestions but unfortunately, nothing worked.
Then I stumbled upon the solution at https://github.com/joomla/joomla-cms/pull/11511 .
For the future reference I am giving the outcomes of your suggestions:
I tried this one, but seems like the script is not compatible with 3.6.2sovainfo wrote:See https://github.com/elinw/AssetFix
Tried this one too but nothing happened.JAVesey wrote:Can you try Components --> Joomla! Update and click on the "Reinstall Joomla core files" button (organs button is you're using the Isis Admin Template).
At the end I purchased the ACL manager extension, ran diagnostics, ended up with nine asset issues, fixed them, but the problem still remained. Though, it must be said that this extension helped a great deal with other issues related to ACL (granting of the large number of back-end permissions - especially hard job with EDocman extension). So anyway, thanks for the tip.itoctopus wrote:There are 2 issues that might be causing this problem:
- Corruption in the ACL (access control list)
- Corruption in the assets table
Great forum, thanks a lot again .