Beispiel #1
0
 @Override
 public String getParentPermission() {
   if (parent != null) {
     return parent;
   } else {
     return PermissionFactory.registerParentPermission(getPermissionName());
   }
 }
Beispiel #2
0
 @Override
 public boolean isAuthorized(CommandSender sender) {
   return PermissionFactory.checkPermission(sender, this);
 }