-
Notifications
You must be signed in to change notification settings - Fork 898
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove tags from entitlement filters from the deleted tag's region
The before_destroy callback wasn't previously scoped to the tag's region. From the global region, usually 99, you could delete a tag from region 1 with value "/managed/costcenter/004". We would then remove that value from filters with that tag from entitlements in region 99, even though we deleted a region 1 tag. The same named tag could still exist in region 99. This commit ensures that if you delete a region 99 tag, we'll only update filters in entitlements in region 99.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
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