dbp/relay-authorization-bundle
'null' (used to be PHP null / SQL NULL), to
simplify code and querying. Note: 'null' is thus a reserved resource identifier.AuthorizationResource, where the item operation
also provides:
add_grants).grantedActions to resource action grants, which indicates, whether the grant
can be deleted by the current user (contains "delete" if so)ResourceActionGrantService::setAvailableResourceClassActions).AuthorizationResource anymore via REST API (always identify by resource class and identifier)AuthorizationResource implicitly when adding a resource action grant
for a resource that does not yet exist.ResetInterface::reset() where possible for automatic cleanup of request stateremoveResourceActionGrants to PHP APIregisterResource PHP API methodsAuthorizationLocalizedAction by a OpenAPI documented array object of localized action names, e.g.:
{
"itemActions": {
"edit": {
"en": "Edit",
"de": "Editieren"
}
},
"collectionActions": {
"create": {
"en": "Create",
"de": "Erstellen"
}
}
}
AuthorizationResource, and GrantedAction operations.AuthorizationAvailableResourceClassActions. Subscribers of the
GetAvailableResourceClassActionsEventSubscriber should now return localized names for available actions of their resource classes.ResourceActionGrantAddedEvent triggered when a new resource action grant is addedwhereContainsAnyOfActions from API and replace by a single action to check if grantedread) is requested and the user has
a manage-grantHow can I help you explore Laravel packages today?