Authors permissions in backend

Phoca Download - download manager
assitecno
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 May 2017, 15:28

Authors permissions in backend

Post by assitecno »

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: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Authors permissions in backend

Post by Jan »

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 »

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 »

Hi Jan,
did you give a try?

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

Re: Authors permissions in backend

Post by Jan »

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 »

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 »

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

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

Re: Authors permissions in backend

Post by Jan »

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