Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate it into two implementation classes to clarify the difference between restricting and elevating access mode, - Replace OverriddenAccessMode with abstract LayeredAccessMode - Separate implementation classes RestrictedAccessMode and ElevatedAccessMode - Rename overrideOriginalMode() to isElevated(), with default implementation in base interface. Also fixes function call allowed, which had a bug of not reverting overridden access mode
- Loading branch information
1 parent
68b1680
commit 0662879
Showing
17 changed files
with
212 additions
and
277 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
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.