IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

Categories access problem

More
9 months 4 days ago - 9 months 4 days ago #52058 by jbrailas
jbrailas created the topic: Categories access problem
If you create a category inside the component and give edit permissions to a user group, then the edit button in frontend doesn't appear.
The user, which belongs to that user group, is not able to edit any project of this category.
You must add edit permission to this user group for all projects or else the edit button doesn't load at all.
It is supposed that the component follows Joomla logic but it doesn't.
I try to fix this for a couple of hours with no avail...
The "NEW" project button appears, the setting of Action "Create" is loading correctly.
Attachments:
Last Edit: 9 months 4 days ago by jbrailas.

Please Log in or Create an account to join the conversation.

More
9 months 4 days ago #52060 by jbrailas
jbrailas replied the topic: Categories access problem
Consider this solved!
I've added the following code in line 120 of file components\com_projectlog\models\category.php

// NEW check categories permission.
$asset_cat = 'com_projectlog.category.' . $item->catid;
if ($user->authorise('core.edit', $asset_cat))
{
$item->params->set('access-edit', true);
}
elseif (!$user->authorise('core.edit', $asset_cat))
{
$item->params->set('access-edit', false);
}

Also, almost the same code should be added in file project.php

Please Log in or Create an account to join the conversation.

Moderators: vinny
Time to create page: 0.219 seconds