Class PermissionResolverFunctionAdapter

java.lang.Object
com.btcvelocity.api.permission.PermissionResolverFunctionAdapter
All Implemented Interfaces:
PermissionResolver, PermissionFunction

public class PermissionResolverFunctionAdapter extends Object implements PermissionResolver
Adapter implementation of PermissionResolver backed by a PermissionFunction.

Permission checks are delegated to the provided PermissionFunction. Advanced/bulk operations are not supported by the backing API and therefore behave as no-ops, and/or returning null results.