-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Security/SecuritySecurity issues without another labelSecurity issues without another labelgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
In security we currently monitor a set of files for changes
config/role_mapping.yml(or alternative configured path)config/roles.ymlconfig/usersconfig/users_roles
We use the ResourceWatcherService to detect changes and then reload structures and/or clear caches.
In some cases we detect that a "file change" has resulted in no actual changes to the stored content, and do nothing, but there are cases where simply touching a file will clear caches.
It would be preferable to only clear caches if the file change actually caused some internal structure to change (e.g a user was added/removed/modified).
Metadata
Metadata
Assignees
Labels
:Security/SecuritySecurity issues without another labelSecurity issues without another labelgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme