There is a problem in the management of front-end com_content ACL display rights.
If a user is a member of a group with the right to "edit" or "edit own", but he does not have the right to "edit state", he can not display an article with "unpublished " state in front end.
This is a problem because an author or editor (in Joomla base ACL) can not edit an article being written before a publisher publish it.
With the arrival of the workflow in Joomla4 it would be a pity that this problem is not corrected.
The right of display an article in front should be based 1st on "modify its elements" and "modify" and in this case allow the display even if the status of the item is "unpublished".
No Code Attached Yet
|Category||ACL com_content||⇒||ACL com_content Feature Request|
No, it's not a feature request.
I think it's realy a bug.
It is not normal that when an editor saves an article, that there is no more access after.
Looks like it is for j3 but looks a bit late for 3.9.
With the arrival of the workflow in Joomla4
In fact I have always wished we had 3 buttons in frontend:
Save & Close and a
Preview button (+ the Cancel one). This would allow Authors (with permissions only set to Create and Edit Own) to check in frontend the display result of their proposed article after
Save (as we need an article id) and before a
Save & Close which would close the edit form.
This would still let Editors with the
Edit permission to control the content proposed after a
Save & Close and a Publisher to decide of the article State.
Preview was added when editing an article in backend grace to a new helper
It would indeed be a new feature, even if it is only for J4.
Removed: J3 Issue
I see this as 2 issues...from the front end (I'm sorry I don't know how to fix)
to DISPLAY unpublished articles for authors, if they 'own the article', and if they have 'edit own', as a setting. I know there is a module that shows all articles owned by an author, but it doesn't allow you to display unpublished ones. (Instead I'm using a separate tool to display Latest News enhanced, but could be done with core joomla)
to be able to EDIT the unpublished article
Once you find that article, you should be able to EDIT it as the 'owner' of the article, and if you have edit own.
After running into the same issue for several clients (surprisingly on the same week), I really think it is a bug that should be addressed in Joomla 3 (since many sites will not jump into Joomla 4 right away but still need the fix).
Authors with access permissions: edit and edit-own can edit everyone's article, published or not.
Here, the author 'jd' can access his unpublished articles.
Authors with access permission: edit-own (only) can only edit their published articles.
'jd' cannot access his unpublished articles.
There is no way for authors to retrieve an unpublished article from the frontend, which totally breaks the default workflow.