-
Notifications
You must be signed in to change notification settings - Fork 6
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
adds content_access_by_path module #215
Conversation
@joachim-n was asking today if "anything in the codebase using the node access API?". Does hook_node_access count ? If so, I'd like to understand the implications of including this in localgov_core. Any initial thoughts @ekes @stephen-cox @andybroomfield ? |
That's not part of the node access system, it's the entity API's hook_ENTITY_TYPE_access() for nodes. What I meant was the old pre-D8 node grants system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed the process of adding new modules to LGD at the tech governance meeting last Thursday and there was a proposal from a year ago with checklist for this here: https://docs.google.com/document/d/1OCs3W7WFGtDNpL0U-6lhT6pQpOf2RydjtpkAMOrUeI4/edit#heading=h.56kj0gjrk8s8.
Is this a good opportunity to run through the checks we outlined?
Also, is LGD Core the best place for this? The original idea was Core would contain shared functionality between modules and could (in theory) be installed in a non-LGD site (if someone just wanted Guides, for example). If this is still the case then this sort of thing should go in to the profile until we move to recipes.
I think stephen's comment is the correct approach I have one further question that jumps to mind directly: Does this mean that we have to remove 'Create and edit URL aliases' from any roles? |
Just to quick clarify (noting @stephen-cox point above). Is this actully enabling anything. I don't think modules should be required by localgov_core unless they are an actual dependancy. Suggested modules for the distribution I think belong with the localgov profile. Is the intention to turn this on by default making it a canioncal way of having node access, or is it just an optional module? To answer point above. BHCC uses both views_unpublished and VAPN which both use hook_node_access. |
I think this is supposed to just be an optional module, not a default canonical way of doing access control. I think with that being the case, it should be created against the profile rather than core, is that right? |
It would go in the profile, so should be made as a PR against localgov. |
No description provided.