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

Move node_access_strict logic into OgAccess #272

Open
pfrenssen opened this issue Jul 28, 2016 · 0 comments
Open

Move node_access_strict logic into OgAccess #272

pfrenssen opened this issue Jul 28, 2016 · 0 comments

Comments

@pfrenssen
Copy link
Collaborator

Currently the node_access_strict logic is executed in og_entity_access(), meaning that it is not checked when the methods in OgAccess are called directly.

There are three public methods which currently return results which completely ignore this mechanism:

  • OgAccess::userAccess() - not sure if it applies here, since this only deals with groups
  • OgAccess::userAccessGroupContentEntityOperations() - this definitely needs it
  • OgAccess::userAccessEntity() - this probably doesn't need it directly, since it delegates to ::userAccessGroupContentEntityOperations()
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