Open Mistrick opened 6 years ago
I like the concept of groups and single permissions this gives us much more flexibility than flags.
I have a question, is there a possibility to exclude permissions for particular players? Let's say we have 2 players which belong to the same group f.e. admin
and we want one of them to have all permissions from the group except f.e. ban
.
I have a question, is there a possibility to exclude permissions for particular players? Let's say we have 2 players which belong to the same group f.e.
admin
and we want one of them to have all permissions from the group except f.e.ban
.
Yes, I try to do system based on sets. We can add member for exceptions and after union in PlayerRole::hasAccess
add complement with exceptions.
SonarCloud Quality Gate failed.
1 Bug
0 Vulnerabilities
0 Security Hotspots
163 Code Smells
No Coverage information
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Description
Access manager
TODO:
Motivation and Context
How has this been tested?
Screenshots (if appropriate):
Types of changes
Checklist: