security settings problem on Home page

Post

Posted
Rating:
#6009 (In Topic #1246)
I'm doing some testing and noticed some unusual behaviors on my Home page based on usergroup and settings.  I'm not sure what to think, so I thought I'd ask here.  On my Home page I don't want the side_users_online block to appear for Guests.  The easiest way to do this to set permissions on the panel_left, which I've done.  However, if I log out (so that Guest is now browsing the page, I notice that panel_left is still showing (for site.org/index.php).  If I click the Home page button so that site.org/site/index.php appears, panel_left goes away (as it should based on permissions).  If I click on my site banner at the top of the page, then the Home button (in effect, toggling between site.org/site/index.php and site.org/index.php), panel_left appears for site.org/index.php and not for site.org/site/index.php.  To me it looks like my site isn't honoring the left_panel permissions consistently.  I may be doing something wrong, but I'm not sure what it is. 

Any help you can offer would be greatly appreciated!

 

Post

Posted
Rating:
#6012
It sounds like you set permissions on :panel_left (Welcome zone panel_left) but not site:panel_left (site zone panel_left), and you don't have the "single public zone" option turned on.

Regardless of that though, my answer on this topic shows a better approach:
https://compo.sr/forum/topicview/browse/designing/possible-problem-with.htm

A blank panel (or one that is only whitespace) will not show. So if you hide blocks using the technique in the topic I linked to, that is a nice clean way to handle the situation.

Post

Posted
Rating:
#6017

Chris Graham said

It sounds like you set permissions on :panel_left (Welcome zone panel_left) but not site:panel_left (site zone panel_left), and you don't have the "single public zone" option turned on.

Regardless of that though, my answer on this topic shows a better approach:
https://compo.sr/forum/topicview/browse/designing/possible-problem-with.htm

A blank panel (or one that is only whitespace) will not show. So if you hide blocks using the technique in the topic I linked to, that is a nice clean way to handle the situation.

I do have two panel_left's, one in welcome zone and one in site zone.  I'm still getting my arms around this and didn't realize they would have separate code segments.  I just discovered that today when I went into the Zone editor for the first time.

Your response makes perfect sense now, and I have properly implemented your recommend approach.  Thanks!
0 guests and 0 members have recently viewed this.