Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu Manager ACL #210

Closed
wants to merge 1 commit into from
Closed

Menu Manager ACL #210

wants to merge 1 commit into from

Conversation

rmcdaniel
Copy link

This adds ACL to the menu manager. Most of the code was copied from the content manager. I tried to follow all the conventions in the original code. I hope this helps!

@elinw
Copy link
Contributor

elinw commented May 16, 2012

You don't want to totally remove permissions from the component since those provide the fall backs that are used in absence of specific settings. Ideally you only use the item level ones in special cases, similar to the article level permissions in content.

@infograf768
Copy link
Member

Also, please add a Feature Tracker on joomlacode an reference back here:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8549

Forgot:
You are deleting in this patch a new string just committed:
COM_MENUS_ITEM_FIELD_HIDE_UNASSIGNED="Hide Unassigned Modules"

@rmcdaniel
Copy link
Author

I didn't remove the component permissions. I just moved them to the access.xml file along with the menu type and menu item permissions. Also, I see now in this patch that I didn't use the newest files when I made my changes. I'll close this request, fix it, create a feature tracker and then submit a new pull request. Thanks!

@rmcdaniel rmcdaniel closed this May 17, 2012
@elinw
Copy link
Contributor

elinw commented May 17, 2012

You shouldn't need to move the access.xml from where it was.

@rmcdaniel
Copy link
Author

When I started, com_menus didn't have an access.xml. I created it and then moved the component permissions to the new access.xml from config.xml so it would look more like com_content. Looking at the commit, I don't think the access.xml I created got added. Sorry for the confusion, I'm a bit new to Git.

@elinw
Copy link
Contributor

elinw commented May 19, 2012

Oh I see it was just using the default.

wilsonge pushed a commit that referenced this pull request Jun 4, 2017
* Delete items via hover delte button

* Code style
wilsonge pushed a commit to wilsonge/joomla-cms that referenced this pull request May 26, 2019
hans2103 pushed a commit to hans2103/joomla-cms that referenced this pull request Nov 18, 2020
…a#210)

* Auto-collapse metismenu when click outside of menu

* Code style - apply fixes from eslint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants