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

adds content_access_by_path module #215

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

markconroy
Copy link
Member

No description provided.

@finnlewis
Copy link
Member

@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 ?

@joachim-n
Copy link

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.

Copy link
Member

@stephen-cox stephen-cox left a 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.

@ekes
Copy link
Member

ekes commented May 21, 2024

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? Does this module work if you do? But otherwise it's less access and more see link? Because /admin/config/search/path/edit/{path_alias} just checks that permission I think? Answer no. Because that permission does not actually grant entity access create and edit permissions, just the permission on the related entity form.

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.

None yet

5 participants