You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon implementing a frontend node creation via a form there were no errors as to why nothing worked. After disabling the ACL package everything started working. After some investigation we could make it work again by whitelisting the specifics like so:
privilegeTargets:
'Neos\ContentRepository\Security\Authorization\Privilege\Node\CreateNodePrivilege':
'Vendor.Site:AllowEventCreation':
label: Allowed to create Events from the frontend
matcher: 'createdNodeIsOfType("Vendor.Site:Document.Event")'
'Neos\ContentRepository\Security\Authorization\Privilege\Node\EditNodePrivilege':
'Vendor.Site:AllowEventEdit':
label: Allowed to create Events from the frontend
matcher: 'nodeIsOfType("Vendor.Site:Document.Event")'
roles:
'Neos.Flow:Everybody':
privileges:
-
privilegeTarget: 'Vendor.Site:AllowEventCreation'
permission: GRANT
-
privilegeTarget: 'Vendor.Site:AllowEventEdit'
permission: GRANT
It would be nice if this would have show some logging to easier spot missing whitelistings.
Upon implementing a frontend node creation via a form there were no errors as to why nothing worked. After disabling the ACL package everything started working. After some investigation we could make it work again by whitelisting the specifics like so:
It would be nice if this would have show some logging to easier spot missing whitelistings.
Thanks @Sebobo for assisting in the Debugging!
The text was updated successfully, but these errors were encountered: