-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache ticket rights for atomic changes
Ticket changes can revoke rights from current user, which can block changes after them because of the revoked rights. E.g. current user can modify a ticket as the owner, which has "ModifyTicket" right granted. When current user replies the ticket and also changes ticket owner on ticket update page, as ticket owner change happens first, previously he/she wouldn't be able to apply the rest of changes. This commit caches ticket related rights in advance to ignore rights revocation inside an atomic change, to get around it.
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 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
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