[x] Regression (a behavior that stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Documentation issue or request
Current behavior
Before we pulled the latest Squidex, when we moved workflow state for a piece of content it called the content ‘status’ API endpoint which just changed the workflow state for that content,
However once we pulled the latest Squidex from GitHub, moving workflow state for a piece of content now calls the ‘bulk’ API endpoint,
This bulk endpoint requires the ‘AppContents’ permission which means you must give a user all permissions for contents of that schema, thus removing the ability to set granular permissions for that content i.e you can’t set a role so that it can move workflow state but not update or delete content,
Expected behavior
The expected behaviour here would be that moving workflow state does not require all contents permissions, should using the bulk endpoint for moving workflow state not be configurable?
I understand that the bulk endpoint most likely makes a few background API calls (therefore requiring more permissions), but this is quite a big change in the way that permissions work for changing workflow state
Ah so you are saying that the ‘bulk’ endpoint will require the role to have ‘Read’ or ‘ReadOwn’ permissions (to atleast make the API call),
And then the granular permissions (i.e. ChangeStatus, Update, Delete) will all be validated inside the middleware?
Is this something that you will fix? We can raise the fix for this but will take substantially longer because of our business processes (for quite a small change from the sounds of it)
I have done some initial testing with a QA and on initial inspection it looks good,
We are going to do a pull from Squidex in the next week or two and will do more extensive testing on this to make sure there are no regression problems,
We will update if there is anything else we find
(Just out of interest, how often do you tag Master? We are currently pulling tags of Master but wouldn’t be able to pull this until there is a new tag)