Page 2 of 2

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

Posted: 22 Jul 2016, 22:22
by Jan
Hi, it is not about fix, there will be new parameters for setting it.

Jan

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

Posted: 22 Jul 2016, 22:41
by AnjaO
Understood, sorry ;-)

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

Posted: 27 Jul 2016, 16:26
by xswer
Hi Jan

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

Thanks you for the answer

have a nice day

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

Posted: 28 Jul 2016, 01:31
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

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

Posted: 28 Jul 2016, 22:35
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

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

Posted: 31 Jul 2016, 21:30
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

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

Posted: 02 Aug 2016, 00:11
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