Have authors view and edit their own unpublished articles

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
stevent
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Thu Sep 15, 2005 6:05 pm
Location: Nijmegen, Netherlands
Contact:

Have authors view and edit their own unpublished articles

Post by stevent » Sat Jun 25, 2022 3:53 pm

This question has been asked many times before, but I still can't find the answer:
How do I set permissions so that a front end author can submit an article, but not publish it and still view the article and make changes?

I found this post here, but it describes a feature I can't find: create a blog view of a category and set 'unpublished article' to Show.
viewtopic.php?t=975216#p3584243

The other option people talk about is that you must allow the user group to publish articles. Which is something you definitely not want in an editorial setting, when a publisher must review the article before it is made public.

Surely after more than 15 years of Joomla there must be a way to allow users to edit their own post, even it is unpublished. I would expect Joomla 4 to have a simple solution for this.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44092
Joined: Sat Apr 05, 2008 9:58 pm

Re: Have authors view and edit their own unpublished articles

Post by Webdongle » Sat Jun 25, 2022 5:02 pm

stevent wrote:
Sat Jun 25, 2022 3:53 pm
This question has been asked many times before, but I still can't find the answer:
How do I set permissions so that a front end author can submit an article, but not publish it and still view the article and make changes?...
Can't be done with core Joomla
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Have authors view and edit their own unpublished articles

Post by AMurray » Sun Jun 26, 2022 12:20 am

I'm sure you can do this.

In fact, J3 documentation https://docs.joomla.org/J3.x:Access_Con ... t_Tutorial suggests that the user Group "Authors" default permissions are "Create" and "Edit Own" - so no tweaking of permissions is required. I would guess J4 is the same but if not you can change them.

J4 also has a more advanced workflow function, so maybe that would help.

https://docs.joomla.org/Publishing_Work ... ementation
https://docs.joomla.org/Publishing_Work ... enarios/en
Regards - A Murray
General Support Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44092
Joined: Sat Apr 05, 2008 9:58 pm

Re: Have authors view and edit their own unpublished articles

Post by Webdongle » Sun Jun 26, 2022 12:33 am

@AMurray
The OP asked "How do I set permissions so that a front end author can submit an article, but not publish it and still view the article and make changes?"

That is not possible in core Joomla because:
"Edit State" controls if users can publish/unpublish Articles
1. If set 'No' then the user can not see it. As they can't see it they can't edit it.
2. If set 'Yes' then they can see it and Edit it (if they have edit Permissions for it).

In short
What the OP is asking is impossible. The user can not edit an Article they can not see.

The workflow (as I understand it) does not override the 'Edit State' Permissions. If you know differently please give the OP exact instructions to achieve exactly what he needs.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
stevent
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Thu Sep 15, 2005 6:05 pm
Location: Nijmegen, Netherlands
Contact:

Re: Have authors view and edit their own unpublished articles

Post by stevent » Sun Jun 26, 2022 3:41 pm

Yes, I know the edit state gives users to view unpublished articles, but also gives them permission to publish articles before they are reviewed.

This question was asked first almost 10 years ago and many times since. I don't know why this hasn't been addressed. I'm wondering what the design reasons behind are to not allow the author to view his own articles, no matter what state.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Have authors view and edit their own unpublished articles

Post by AMurray » Sun Jun 26, 2022 9:26 pm

"Edit State", yes has to do with publishing but that's not what I was referring to.

Edit Own: (per Joomla documentation): "Edit objects you have created". If that's not about editing content that one has created I don't know what is.

Edit Own should show the front-end logged-in Editor user the unpublished status of their own articles, and they should be able to re-open them to edit, without the need to give "Edit State" access just to see the articles?
Last edited by AMurray on Sun Jun 26, 2022 10:14 pm, edited 1 time in total.
Regards - A Murray
General Support Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44092
Joined: Sat Apr 05, 2008 9:58 pm

Re: Have authors view and edit their own unpublished articles

Post by Webdongle » Sun Jun 26, 2022 10:04 pm

AMurray wrote:
Sun Jun 26, 2022 9:26 pm
"Edit State", yes has to do with publishing but that's not what I was referring to.

Edit Own: (per Joomla documentation): "Edit objects you have created". If that's not about editing content that one has created I don't know what is.

If users in the Editors User Group can't re-open their own articles to continue work on them, what's the point of a CMS without that function?
...
Once their item is published they can see it to edit it. Once they edit it then it becomes unpublished until someone with 'Edit state' Permissions publishes it. If the User who created/edited it does not have 'Edit state' Permissions then they can not see it (in the front end) to edit it until someone publishes it.

If they have admin access they may see it when unpublished and might even be able to edit it (not sure not tested) but the won't be able to publish it. But definitely on the front end when created/edited it unless they have 'Edit state' Permissions they won't see it until someone publishes it.

If I get time I will check what happens in Admin.


Addendum
If they have 'Edit state' Permissions then they can only publish/unpublish Articles they have Edit Permissions for. Although (if memory serves me correctly) they will see all unpublished Articles of view/access levels their user group is in.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9739
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Have authors view and edit their own unpublished articles

Post by AMurray » Sun Jun 26, 2022 10:15 pm

OK I was thinking they should be able to edit their own unpublished articles.....before they are published for the first time.
Regards - A Murray
General Support Moderator

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44092
Joined: Sat Apr 05, 2008 9:58 pm

Re: Have authors view and edit their own unpublished articles

Post by Webdongle » Mon Jun 27, 2022 12:06 am

AMurray wrote:
Sun Jun 26, 2022 10:15 pm
OK I was thinking they should be able to edit their own unpublished articles.....before they are published for the first time.
Not in the frontend, don't know about in admin. Best way to see what happens is test with a test user. It will take a while to try all combinations but that is the only way to know.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

Return to “General Questions/New to Joomla! 4.x”