GenericAuthorizationPolicy
mbauer83.zio_http_authorization.AuthorizationPolicy$.GenericAuthorizationPolicy
class GenericAuthorizationPolicy(val requiredRoles: Set[Role], val requiredPermissions: Set[String | Symbol]) extends AuthorizationPolicy[User[_, _], Resource[_]]
An AuthorizationPolicy that authorizes access if and only if the user has all of the required roles and all of the required permissions.
Attributes
- Graph
-
- Supertypes
Members list
In this article