[SOLVED] ACL RULES for access only own items

More
8 years 1 week ago - 8 years 1 week ago #65486 by ppapadatosgr
Hi Everybody,

i was wondering if there is a combination of ACL Rules so any registered user (except of course Admin) cannot see other user's items...

One simple answer is to use MyItems Menu but when i select Category then i see other user's items...

Can we manage that from ACL Rules ??

Best Regards
Panos
Last edit: 8 years 1 week ago by ggppdk.

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

More
8 years 1 week ago #65498 by ggppdk
Hello

yes you can do it,
the solution is simple,
- do not give to the user ACL privilege to "publish" / "publish own"
(neither give ACL edit.state nor give ACL edit.state.own)

Thus all items will remain "unpublished"
and the result will be that only owners of the items will be able to see the items in frontend


Furthermore a mesage will appear in (single) "item view" saying:
-- "Item is unpublished, " etc

you can search for it in Joomla language overrides manager and customize it to be something more appropriate


-- 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...
The following user(s) said Thank You: ppapadatosgr

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

More
8 years 4 days ago #65531 by ppapadatosgr
Hi George,

i understand this and believe that the easiest solution... (i have tested and works OK)
I hope that i don't have any problems generated from the fact that articles are not "published"

Regards
Panos

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

More
8 years 3 days ago #65556 by ggppdk
Hello

please note that if you do not give permission "create" at component to your authors
and instead you give only to specific categories
then in J3.6.5 creation is not possible for them

I have made a new build in Github if you website is new then you can install:
github.com/FLEXIcontent/flexicontent-cck/releases

otherwise see the patch here:
www.flexicontent.org/forum/21-troublesho...tent/edit/65551.html


-- 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
8 years 3 days ago #65560 by ppapadatosgr
I don't understand exactly what are you saying ...

"please note that if you do not give permission "create" at component to your authors
and instead you give only to specific categories
then in J3.6.5 creation is not possible for them"

What is not possible for them (authors) ???

Panos

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

More
8 years 3 days ago #65565 by ggppdk
Hello

You need to know a little more of Joomla ACL

the issue is with this configuration

- if you do not give permission "create" at component configuration to your usergroups
instead you set it to "inherit" which means inherit from Global configuration and in Globla configuration you also have inherit, and the permission setting inherited is "not set" = soft deny = i can set it later in specific categories

- and then you give "create" (content) only by editing specific categories and allowing specific usergroups to create

then the users will not be allowed to add content


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.394 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