-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cache invalidation on privilege modification (#102193)
Previously the application privilege cache would only be updated for privileges that were _created_. If an existing privilge was modified, then that would not automatically invalidate the cache. This was because the NativePrivilegeStore.putPrivileges had a confusing response type that replied with the set of privileges that were created, and left the caller to assume that any other privileges in the request were updated. This commit changes the response type of that method to return all privileges that were included in the request, along with their Result Relates: #102056
- Loading branch information
Showing
4 changed files
with
193 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 102193 | ||
summary: Fix cache invalidation on privilege modification | ||
area: Authorization | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.