Topic: Setting Elementary ACL

0 Members and 1 Guest are viewing this topic.

May 13, 2010, 12:08 PM

Offline agvai

  • Newbie
  • *
  • Posts: 2
    • View Profile
I have the following 4 menu items:

* Home
* Destinations
* My Wedding
* Contact

I will only use CommunityACL at "My Wedding" menu item" by now.

So, I will have costumers or users (I mean couples getting married) browsing a portion of the site exclusively. I mean, they will have a menu item assigned with their name and they will be able to access and browse only that menu item along with their guests previously assigned under that menu item "My wedding", so:

EXAMPLE:
I will have:
G1 Anne & Stephen "as group" (+ Anne & Stephen " as role A1" + Anne & Stephen guests "as role B1").
G2 Mary & Joseph "as group" (+ Mary & Jospeh " as role A2" + Mary & Joseph guests "as role B2").
G3 Nicole & Jonathan "as group" (+ Nicole & Jonathan " as role A3" + Nicole & Jonathan guests "as role B3").

e.g. G1 = (+ Role A1 + Role B1) where role A1 will have total access to the content in G1 and role B1 will have partial access to the content in G1

same for G2 and G3 and so on for the new groups to come!

G2 = (+ Role A2 + Role B2) where role A2 will have total access to the content in G2 and role B2 will have partial access to the content in G2.

G3 = (+ Role A3 + Role B3) where role A3 will have total access to the content in G3 and role B3 will have partial access to the content in G3.

I have also created three menu items with same name and have set it as registered.

Then I "set access" to each group in which I add to the list of forbidden items the other two groups at the menu tab.

e.g. Anne & Stephen "group" > set access > tab "menu" > List of Forbidden Menus I add: Mary & Joseph + Nicole & Jonathan (the other two that do not have to see anything about G1). So, a user belonging to the "Anne & Stephen" group will not see or access anything on the other two groups.

I did the same for the other two groups.

Nonetheless I have tried many many times! I cannot get it working as each time one user log in they also can see the other 2 groups content and what I need is that G1 can access and view ONLY the content regarding themselves and EXCLUDE ALL POSSIBILITIES TO VIEW THE CONTENT IN G2 and G3.

I guessed it was simple but maybe I am missing something or something is going wrong, can somebody HELP ME??? PLEASE!

Thanks!
Anthony

May 18, 2010, 07:21 AM

Offline Bernard Robbins

  • corePHP Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 104
    • View Profile
    • corePHP
Hi Anthony,

How do you have your Access type set up as? What is the group, role, and function set for public? How do you have the set access set for those?

« Last Edit: May 18, 2010, 07:24 AM by Bernard Robbins »

May 18, 2010, 08:47 AM

Offline agvai

  • Newbie
  • *
  • Posts: 2
    • View Profile
I have set access "Deny all as default"
I have also created a group "Public Group" and a role "Public role" and have given access to all BUT "My wedding" as I will keep it denied except for couples G1, G2, G3, etc...

I'd like to remind that I need that contet seen by G1 DO NOT have to be seen by G2 and G3 and so on for G2, G3, etc..

Thanks