Closed Benjamin-K closed 2 years ago
When creating a role with restricted workspaces, you will get 500 Internal Server Error. The reason for this is, that isInWorkspace() actually expects an array of workspaces to be tested instead of a string with one workspace.
500 Internal Server Error
isInWorkspace()
Compare: Neos.ContentRepository / NodePrivilegeContext and Sandstorm.NeosAcl / MatcherConfiguration.
Tested with Neos 7.3.
I will test this further and maybe create a PR for this.
When creating a role with restricted workspaces, you will get
500 Internal Server Error
. The reason for this is, thatisInWorkspace()
actually expects an array of workspaces to be tested instead of a string with one workspace.Compare: Neos.ContentRepository / NodePrivilegeContext and Sandstorm.NeosAcl / MatcherConfiguration.
Tested with Neos 7.3.
I will test this further and maybe create a PR for this.