[IMPLEMENTED] Hide items on backend if you don´t have permissions to edit

More
10 years 8 months ago #45602 by jrodgar
That "I can view" would be based on the view level or on the acl?

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
10 years 8 months ago #45610 by ggppdk
Hello

as we said above on the view ACCESS


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 8 months ago #45613 by jrodgar
That sounds promising

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
10 years 8 months ago #45622 by jrodgar
What about something on the lines of, on com_flexicontent/views/items/view.html.php, something like

if ($somepermission) {
$categories = $globalcats ? $globalcats : array();
} else {
$categories = getCalculatedCategoryTreeForUser();
}

?

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
10 years 8 months ago #45631 by ggppdk
Hello

i said we could calculate edit and edit.own on categories and then use the found categories to retrieve the items,

and this has a reasonable time cost

but that is not enough since each article may have extra ACL,

so we will not do this,

instead we will leave it as Joomla is doing it, that is use the (can view) ACCESS Level

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 8 months ago #45642 by jrodgar
Actually, I think that calculating the edit.own by category would be an acceptable compromise, because the individual item acl would still be enforced when painting the items.

Do you think this behaviour could be implemented as a plugin? to avoid messing with the flexicontent core.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.721 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline