Package ai.vectros.types
Class ScopeClause
java.lang.Object
ai.vectros.types.ScopeClause
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getAllowedActions
- Returns:
- Verbs this clause grants. Custom verbs are allowed, but a standard catalog is defined: '*' (wildcard), 'read', 'write', 'delete', 'admin:keys', 'admin:profiles', 'logs:r', 'create_own_scoped_key'. Entries may also use the compact 'resource:cruds[:qualifier]' form, e.g. 'documents:cru' or 'records:rs:patient'. The 's' letter in that form grants sensitive-field REVEAL (PHI un-masking) for the given record-type — fail-safe: absent 's', sensitive fields are masked at the response boundary.
-
getDataScope
- Returns:
- Attribute filters narrowing data this clause applies to. Empty object = applies to ALL data within the tenant. Specific values narrow; include null in an allowed-value list (e.g. {"orgId": ["orgX", null]}) to ALSO grant access to tenant-level records that have no value set for that attribute. Any scopable attribute name is valid as a key.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-