Authors permissions in backend

assitecno
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 May 2017, 15:28

Authors permissions in backend

Post by assitecno » 05 May 2017, 15:59

Dear staff.
I'm working on a project where I need that authors, editors and publisher users from the backend could make some kind of work.
I suppose there are some permissions issues:
Authors permissions are set by default to only create new elements, but they can't (save button doesn't appear).
At the same time the editors can create new elements but they can also publish them. By default permissions they couldn't, but they do.
How can I work around this problem?

Thank you


User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38405
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Authors permissions in backend

Post by Jan » 07 May 2017, 21:43

Hi, creating is core.create right and publish is core.edit state - they are different rights.

Testing now, works OK for me, when I have only create rights, then I cannot make the file publish/unpublish (when edit state is not allowed) :idea:

Even the save button is displayed if create rights is enabled.

Which version of Phoca Download do you use? Check the file where there is no save button, if it is not locked (administrator can unlock it)


Jan
If you find Phoca extensions useful, please support the project

assitecno
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 May 2017, 15:28

Re: Authors permissions in backend

Post by assitecno » 08 May 2017, 10:08

Hi Jan and thank you for the answer. Maybe I'm not explained well.
Sorry if I can't post an url but I'm in a local environment yet: I'm using latest downloaded Phoca Download (3.1.2) and Joomla! 3.6.5.

I'm talking about Joomla default user types (authors and editors) and backend access granted to them.
For example let's talk about Authors: as you can see here
http://i.imgur.com/wUWXiGQ.png
Authors have Create permissions in global settings of the component, but as you can see here
http://i.imgur.com/Zxd1YbJ.png they cannot save a new element.

Editors for example have not the Edit state permissions
http://i.imgur.com/fWE7jYx.png
but the can publish elements (and they are also able to create elements, as it should be)

I suppose that going to analyze more permissions issues could be found. Why I talk you about issues: because I had same problem with another extension (Alexandria book library) and the developer told me that effectively there was some kind of change in latest Joomla permissions management and she had to correct some code.

I hope I'm clear now.
Thank you for your availability.

Gabriele

assitecno
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 May 2017, 15:28

Re: Authors permissions in backend

Post by assitecno » 12 May 2017, 12:16

Hi Jan,
did you give a try?

Thank you

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38405
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Authors permissions in backend

Post by Jan » 12 May 2017, 14:17

Hi, for saving the items, you need to have EDIT permissions - as saving you can do when creating new or editing current.

For publishing items you need to have EDIT STATE permissions

Jan
If you find Phoca extensions useful, please support the project

assitecno
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 May 2017, 15:28

Re: Authors permissions in backend

Post by assitecno » 12 May 2017, 16:06

In fact one of the problems is that Editors can publish without having EDIT STATE permission...

assitecno
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 May 2017, 15:28

Re: Authors permissions in backend

Post by assitecno » 17 Jul 2017, 10:10

Good morning Jan.
Had you sometime to take a look for permissions in backend?

thank you

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 38405
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Authors permissions in backend

Post by Jan » 19 Jul 2017, 17:32

Hi, not sure what you exactly mean? Didn't you test to set the edit state permissions for publishing?

Jan
If you find Phoca extensions useful, please support the project

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest