-
Notifications
You must be signed in to change notification settings - Fork 19
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 #745
base: 3.x
Are you sure you want to change the base?
Conversation
Briefly discussing in Merge Tuesdays:
Tasks:
|
Will has tried to ask content people about this, but has not had any responses. |
What do I need to do to review? |
Looking at the issue, this is so it's avalible to people as part of the profile, but not installed by default. |
Hi @willguv Could we review the policy https://docs.localgovdrupal.org/governance/new-features-policy.html and check in on point 1? Also @andybroomfield want to check in on the security aspects. If paths change, does this change the access control? |
I'm just taking a look at this again. It would be good to confirm if there are any assumed security features that would be bypassed by changes in the IA / path aliases. @willguv did you get any input from content / product group discussions on the need for this from multiple councils? |
I think it'd make more sense to add this to the project than the profile. (And I'm starting to think that about everything that's not actually required to run an LGD site, for the record...) If you add this to the project, new installs get it and can choose whether to use it or not. If you add it to the profile, it'll get deployed to every LGD site out there, even if they don't want it. I'd really like to cut down the codebase on the sites I work on to just what they actually need to run. |
Hi @finnlewis I've had very little back from content designers about this, so while this is probably needed by some it's not pressing Also this isn't in any of the missions, either active or proposed - we've got a lot of concurrent work on, so think we need to need to deprioritise this Sorry for the slight change of heart - hope this is OK for you and @markconroy |
That is a very good point @rupertj. Adding fully optional modules to the project composer.json makes a lot of sense, as long as we're not enabling them on a default install. We're encouraging them as optional modules rather than baking them in, making it easier for them to be removed as required by each installation. On the flipside, what is the problem with additional code that is not enabled? Drupal itself comes with lots of optional modules / code that we don't use by default. Our default installation does not install most of the optional localgov_ modules. What is the argument against having optional code or modules that are not installed / enabled? |
Or revisit localgov_minimal #160 |
It's not the worst thing in the world, especially for a tiny module like content_access_by_path, but modules that are in the profile are downloaded multiple times for every single CI run the project makes, as well as every single CI run when people test and deploy their own sites. Having unused modules hanging around is also a minor maintenance burden. They're trivial to keep up to date, but you still need to do it. |
@rupertj an aside, but is it worth is reviewing what's in core and what's missing? We review each time we want to add something, but we haven't looked at the whole thing in years. The proposed Refresh mission for this year could tackle this if we think it's not much work/ delivers some value |
Creating PR for the profile instead of LocalGov Drupal Core, see localgovdrupal/localgov_core#215
Thanks to Big Blue Door for sponsoring my time to work on this.