- All Implemented Interfaces:
hasPermissionDescription copied from class:
SuperpermsHandlerPerform a permissions check on
SuperpermsHandler.emulateWildcards()is overridden to disable wildcard emulation, wildcard assignments will be checked for permissions. This has a few subtleties in order to respect default-false assignments.
Permissible.isPermissionSet(String)will only return true for permissions that are set on an attachment, or that are a default that evaluates to true. When resolving wildcards, we also want to detect permissions that are not in an attachment, but also won't evaluate to true for operators — since these are ones we've explicitly set to
For the resolution itself, we check whether the permission is either set on the permissible or explicitly not granted to ops (i.e. deviating from the default). If so, the permission's value is returned. Otherwise, the portion of the permission from the beginning to the last occurrence of
.followed by a
*is taken and the process is repeated.
Once a string without dots has been checked, if no result has been found the literal permission
*is checked and the result of that check is returned.
getBackendNamepublic String getBackendName()
tryProviderpublic boolean tryProvider