J4 Issue No Code Attached Yet
avatar rolandalsace
rolandalsace
18 Sep 2018

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".

avatar rolandalsace rolandalsace - open - 18 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2018
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Sep 2018
avatar brianteeman brianteeman - change - 18 Sep 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 18 Sep 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Sep 2018
Category ACL com_content
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Sep 2018

Can a ACL-experienced one comment as this Issue is open for a Week having Status "New"?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22232.

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Sep 2018
Status New Information Required
avatar brianteeman
brianteeman - comment - 26 Sep 2018

It's a feature request @franz-wohlkoenig

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Sep 2018
Category ACL com_content ACL com_content Feature Request
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Sep 2018

Thanks for Info @brianteeman. Category "Feature Request" is now added in Issue Tracker.

avatar rolandalsace
rolandalsace - comment - 28 Sep 2018

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.

avatar alikon
alikon - comment - 28 Sep 2018

sorry it's for j3 or for j4 ?

avatar infograf768
infograf768 - comment - 29 Sep 2018

Looks like it is for j3 but looks a bit late for 3.9.
comment above:

With the arrival of the workflow in Joomla4

In fact I have always wished we had 3 buttons in frontend: Save, 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.

In j4, Preview was added when editing an article in backend grace to a new helper PreviewHelper

It would indeed be a new feature, even if it is only for J4.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Mar 2019

needs a j4-Label.

avatar HLeithner HLeithner - change - 18 Mar 2019
Title
com_content ACL display problem in frontend
[4.0] com_content ACL display problem in frontend
avatar HLeithner HLeithner - edited - 18 Mar 2019
avatar HLeithner HLeithner - change - 18 Mar 2019
Labels Added: J4 Issue
Removed: J3 Issue
avatar HLeithner HLeithner - labeled - 18 Mar 2019
avatar HLeithner HLeithner - unlabeled - 18 Mar 2019
avatar Milglius
Milglius - comment - 30 Jan 2020

@HLeithner can we test pull request on this ?

avatar HLeithner
HLeithner - comment - 30 Jan 2020

There seams to be no pull request yet

avatar rytechsites
rytechsites - comment - 27 Feb 2020

I see this as 2 issues...from the front end (I'm sorry I don't know how to fix)

  1. 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)

  2. 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.

thanks,
Laura

avatar obuisard
obuisard - comment - 27 Feb 2020

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.

edit_edit_own

Authors with access permission: edit-own (only) can only edit their published articles.
'jd' cannot access his unpublished articles.

edit_own

There is no way for authors to retrieve an unpublished article from the frontend, which totally breaks the default workflow.

avatar jwaisner jwaisner - change - 14 Apr 2020
Status Information Required New
Build master 4.0-dev
avatar alexandreelise
alexandreelise - comment - 2 Aug 2020

Something to work on for sure. I was experimenting some ideas using a system plugin mainly for Joomla! 3 regarding a similar issue.
Maybe I can help to work on this when I have some time.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22232.

Add a Comment

Login with GitHub to post a comment