added command to remove the role from mod mail configuration again

added convenience method to disallow a whole feature for a role
This commit is contained in:
Sheldan
2020-05-08 12:11:35 +02:00
parent 4236db7a5b
commit 9fdca52005
12 changed files with 81 additions and 1 deletions

View File

@@ -15,4 +15,5 @@ public interface CommandService {
void restrictCommand(ACommand aCommand, AServer server);
void unRestrictCommand(ACommand aCommand, AServer server);
void disAllowCommandForRole(ACommand aCommand, ARole role);
void disAllowFeatureForRole(FeatureEnum featureEnum, ARole role);
}