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

user.get_permissions returns irrelevant permissions #422

Open
timitos opened this issue Dec 18, 2018 · 0 comments
Open

user.get_permissions returns irrelevant permissions #422

timitos opened this issue Dec 18, 2018 · 0 comments

Comments

@timitos
Copy link
Member

timitos commented Dec 18, 2018

get_permissions iterates over all existing permissions in plone. It may be an option to use "manage_getPermissionMapping()" from AccessControl to retrieve the permissions that are relevant for the given object.

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

No branches or pull requests

1 participant