Menu Manager - "Edit State Is Not Permitted"

Moderators: mandville, General Support Moderators

Locked
jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Thu Feb 20, 2014 9:31 pm

Hi,
I have a user group with following permissions in the Menu Manager:

- Configure (inherited = Not Allowed)
- Access Component (Allowed)
- Create (Allowed)
- Delete (Inherited = Not Allowed)
- Edit (Inherited = Not Allowed)
- Edit State (Allowed)

I then have a user that is a member of this group (along with two other groups). This user can access the menu manager and can create new menu items but whenever an attempt is made to publish/unpublish a menu items the following error message is displayed:

- Edit state is not permitted

Any ideas why this is happening.

Thanks, Jana

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 1:27 am

does whatever category or article they are trying to edit the state in also allow this particular user group to Edit State?

i think you may need to check the permissions of the User Group in the Category.
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Fri Feb 21, 2014 3:46 pm

Great hint, I didn't think of it.
Some articles and categories block this user, but event the categories and articles that do allow this user to edit their state the same error occurs.

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 4:26 pm

Is the user group itself a child group of Registered?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Fri Feb 21, 2014 5:18 pm

Yes it is. The permission setting for the registered group is

- Configure (inherited = Not Allowed)
- Access Component (inherited = Not Allowed)
- Create (inherited = Not Allowed)
- Delete (Inherited = Not Allowed)
- Edit (Inherited = Not Allowed)
- Edit State (inherited = Not Allowed)

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 5:27 pm

Exactly. Thanks for confirming that. But in your categories, if you select that user group to be Allowed to Edit State, they *should* be able to edit the state on the frontend for articles in that category.

As I reread this thread, I am confused on the "Menu Manager" part. Menus aren't editable on the frontend of the website. Editing a menu item (to publish or unpublish) needs to happen on the backend. A child item to registered wouldn't be able to access the backend administrator control panel at all. Perhaps this is the problem. You may be trying to give permission for something that that level of User Group cannot even do.

So, how is the user accessing the "Menu Items?" Or when you say "Menu Items" do you mean whatever article the menu item is displaying?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Fri Feb 21, 2014 5:50 pm

My user group is configured to access the back end and within the menu manager can only publish/unpublish and add new menu items.

A user from this group can add new menu items without any problem but when an attempt is made to modify the state of an item the "Edit state is not permitted" error message is returned.

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 5:59 pm

Let me make sure I understand:

Your new User Group which is a child of the Registered User Group is able to access the backend administrator Control Panel?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Fri Feb 21, 2014 7:34 pm

Yes, my user group structure is as follows:

- Public
--Manager
--Registered
---Communication
--- ...
--Super Users
--Technical Support

I have used ACL to allow communication group to access certain areas in the back end

"Communication" group is given the permission to publish/unpublish menu item in the menu manager and it's misbehaving.

Jana

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 8:28 pm

you're right. i have tried to duplicate the problem and i can edit the state of menu items in a User Group i also named Communication as a child to the Registered User Group.

so, let's just check all the places i gave permissions to this group in and make sure we've got it the same:

1. Global Configuration - > Permissions Tab - the Communication group can Edit State, right?
2. User Manager -> Options Button -> Permissions Tab - the Communication group can Edit State, right?
3. Article Manager -> Options Button -> Permissions Tab - the Communication group can Edit State, right?
4. Menu Manager -> Options Button -> Permissions Tab - the Communication group can Edit State, right?

That's what I have on all mine and it works to edit the state of menu items. Will you please check all of those on your end?

Another thought, it may not be the wisest thing to have the menu items publish/unpublish without thought (by multiple people). Those URLs get indexed and could create 404 errors if the menu item is unpublished and links exist to get to them.
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Fri Feb 21, 2014 8:58 pm

Thank you so much for taking the time to work on this :)

I have all the last three permissions but I did not provide this user group with edit state permission at global configuration level.

If I understand correctly providing any permission at the global level allows that user group to perform the task at all areas of the website and that is not what I want. The communication group has access to some parts of the site and only for specific actions and that's why I am hesitant on providing this permission at the Global Configuration level.

Jana

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 9:06 pm

I would just take their ability away in the areas you don't want them to Edit State on? Or is that too gnarly? Without knowing what you have going on, it's a bit challenging to understand.

Have you taken a look at ACL Manager? It's a third-party extension with a lovely GUI to guide you through it might help get you where you want to go more easily than working with core. Though, I think you're close. We know that the only difference between it working and not working is in global config options.
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html

jasari123
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Nov 19, 2013 10:09 pm

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jasari123 » Fri Feb 21, 2014 9:29 pm

Yes, for now I will take that privilege away and will look at ACL Manager for sure.

Thank you so much, I really appreciate it.

Jana

jgress-
Joomla! Ace
Joomla! Ace
Posts: 1097
Joined: Thu Sep 24, 2009 5:40 pm
Location: Austin, TX, USA

Re: Menu Manager - "Edit State Is Not Permitted"

Post by jgress- » Fri Feb 21, 2014 10:23 pm

you are welcome so much, jana!

i was on mobile before and couldn't easily get to the link for acl manager on the JED - here it is http://extensions.joomla.org/extensions ... trol/17951. it costs a slight bit but i promise you it is worth every penny. fix your assets with it while you're at all the acl stuff too. you can also then uninstall acl manager and it will keep everything in core properly. the developer is brilliant. :)
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html


Locked

Return to “Access Control List (ACL) in Joomla! 2.5”