When creating a simple workflow, I am trying to set a user group to edit only their own articles, only when the article is in a certain stage (for example "draft").
User group has "edit own" permissions in com_content, edit permissions in the example "draft" workflow stage, and no edit permissions in any other workflow stage.
User group can edit their own articles that are in "draft", and when that article is moved to a different workflow stage, they can no longer edit that article.
User can always edit their own articles even when they are not in "draft" stage.
J4.0.6
PHP 8.0.1
If the "edit own" permission is removed, user can edit articles only in "draft" stage.....but user can edit articles from other people, too.
This feels like it's either broken or missing a feature. Maybe an "edit own" permissions option in the workflow stage?
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
?
|
Can i work on this issue?
Anyone can propose a fix in a PR. :) What do you think the best way to handle this is?
Not as easy as it lookde on the first glance.
Therefor you need a workflow plugin. Very rough steps which has to be done:
Create workflow plugin with the following functions:
Labels |
Removed:
?
|
Labels |
Added:
bug
|
Can i work on this issue?