Needs work
Project:
Login Security
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2026 at 17:28 UTC
Updated:
10 Apr 2026 at 07:47 UTC
Jump to comment: Most recent
Comments
Comment #2
anybodyComment #3
aayushpathak commentedworking ...
Comment #5
aayushpathak commentedI have implemented the Administer Login Security permission and assigned it to the route. Kindly review and verify.
Comment #6
anybodyThanks @aayushpathak. LGTM, but this please needs an update hook to grant the new permission to anyone who had the old permission before to not cause regressions.
You should find the code in other modules that introduced similar permissions later.
Comment #7
aayushpathak commentedThanks for the feedback!
Added update hook (login_security_update_9001) to grant the new permission to existing roles and prevent regressions. Kindly review!
Comment #8
anybodyThanks @aayushpathak - update hook looks good, but code style is broken.
Maybe you could take a look at #3471594: Fix the issues reported by PHP_CodeSniffer afterwards to get CI green?