Package ca.cdr.api.security.permission
package ca.cdr.api.security.permission
Machinery for declaring, parsing, and formatting PermissionEnum arguments from GrantedAuthorityJson.
Format constants are available in
PermissionArgumentFormats.
Parsed value beans inherit from PermissionArgumentValue.
The PermissionArgumentParser is used to inspect the declared types
and parse the argument.
Note - there is a NoArgument type which is the default permission argument format.
-
ClassDescriptionA narrowing filter - does a resource (of type), have a search param (by name), in a ValueSet (via url).types within compartments.types within compartment.Access to a compartment, with optional FHIR query.Types available for export.Persistence service for custom rolesAccess to a single resource instance, with optional FHIR query.Our no-parameter parameter value.A single String which contains Node ID and Module ID separated by a slash `/`.An operation name.An operation name and a target resource type.Access to everything, or limited by an optional FHIR query.PermissionArgumentFormat<F extends PermissionArgumentValue>Public interface for the various permission argument formats.the permission is scoped to a compartmentThe permission is scoped to a single instanceThe permission has an optional FHIR filterEmpty marker for facets of permission argumentsThe permission is scoped to only apply to a typeList of constants with all defined permission argument formats.Parser for PermissionEnum argumentsBase for concrete format types.Access to a single type, with optional FHIR query.A role name.Access to a single type within a compartment, with optional FHIR query.