Issue #3531838 by rduterte: Add path include/exclude support warning control
All threads resolved!
Closes #3531838
This adds a setting to hide the config warning on specific admin paths using the request_path condition plugin. Supports wildcards and an optional toggle to switch between include/exclude behavior.
Merge request reports
Activity
added 3 commits
-
ea7b696a...9e581f2f - 2 commits from branch
project:1.0.x
- 6727762b - Merge branch '1.0.x' into '3531838-exclude-include-paths-config-warning'
-
ea7b696a...9e581f2f - 2 commits from branch
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
added 1 commit
added 1 commit
- Resolved by Rodel Duterte
added 1 commit
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
Thanks! I took a look through and left some comments. I also should mention that there's no
hook_update_N()
to update the config for existing installs, but I don't know if we're worried about that (there's no release afaict).
- Resolved by Rodel Duterte
added 1 commit
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
- Resolved by Rodel Duterte
added 1 commit
- Resolved by Rodel Duterte
added 1 commit
- Resolved by Rodel Duterte
Thanks @rduterte, looks great to me! Ran it locally:
-
You can't save an invalid path in the condition config. -
The warning shows up on the path given. -
Negate reverses the path condition as expected.
Future tasks
- Mention in the release notes that existing installs should reinstall the module or otherwise update their configuration to include
conditions
. - It might be nice to set up some automated tests to help prevent regressions in the condition handling.
-
Please register or sign in to reply