Default Category Access Rights when creating in Front-end

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Default Category Access Rights when creating in Front-end

Post by Jan »

Hi, it is not about fix, there will be new parameters for setting it.

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

Tags:
AnjaO
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 09 Jul 2016, 15:57

Re: Default Category Access Rights when creating in Front-end

Post by AnjaO »

Understood, sorry ;-)
xswer
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Jul 2016, 21:18

Re: Default Category Access Rights when creating in Front-end

Post by xswer »

Hi Jan

If you know when the option "empty" will come?

Thanks you for the answer

have a nice day
xswer
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Jul 2016, 21:18

Re: Default Category Access Rights when creating in Front-end

Post by xswer »

Hello

I found a quick possibility for the access right when creating in front-end.

folder: components/com_phocagallery/controllers
change in user.php line 461 and 222
and in category.php line 1066

from

Code: Select all

$post['accessuserid']= '-1';
to

Code: Select all

$post['accessuserid']= '0';
Then the category or subcategory is public.

Best regards

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

Re: Default Category Access Rights when creating in Front-end

Post by Jan »

Hi,

update to version 4.3.1
https://www.phoca.cz/news/893-phoca-gall ... 1-released

and see this article about setting the default access rights:

https://www.phoca.cz/documents/2-phoca-g ... ess-rights
Jan
If you find Phoca extensions useful, please support the project
Antares
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 28 Jun 2016, 12:29

Re: Default Category Access Rights when creating in Front-end

Post by Antares »

Hello Jan,
thanks for the update.
Do you also planing to have an option "uploaduserid = -1" for new categories?
It would be great, if all users can upload into categories, that one user has created.

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

Re: Default Category Access Rights when creating in Front-end

Post by Jan »

Hi, I didn't plan to do it, upload rights should be set by administrator (except the category belongs to the user). But I habe added it to the feature request - to take a look at it.

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