Page 1 of 1

Backend permissions

Posted: 09 Jan 2012, 15:48
by payonk
Hi,
I have a problem with Phoca Maps 2.0.4.

I've added a user an user group and add every permission to Phoca maps component.

But when I try to go to component as a new user (backenmenu > componets > phoca maps) i get an error:
"You are not authorised to view this resource."

I've configured other extensions for this user an they are working fine.
There is no problem in super user account.

Thx for help

Re: Backend permissions

Posted: 09 Jan 2012, 22:36
by payonk
OK i've found a solution.
I think there is a bug in
administrator/components/com_phocamaps/phocamaps.php : line 12-14

insted of

Code: Select all

if (!JFactory::getUser()->authorise('core.manage', 'com_maps')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}
there should be

Code: Select all

if (!JFactory::getUser()->authorise('core.manage', 'com_phocamaps')) {
	return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

Re: Backend permissions

Posted: 11 Jan 2012, 21:13
by Jan
Hi, thank you for this info, I will fix it for the next release.

Jan

Re: Backend permissions

Posted: 03 Apr 2012, 21:47
by Jan
Should be fixed in 2.0.5

Jan