security settings problem on Home page

Post

Posted
Rating:
#6707 (In Topic #1738)
Avatar
Standard member
cwdean is in the usergroup ‘Fan in action’
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!

 
Online now: No Back to the top

Post

Posted
Rating:
#6710
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
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:
possible problem with Newsletter signup - Composr

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.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#6715
Avatar
Standard member
cwdean is in the usergroup ‘Fan in action’

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:
possible problem with Newsletter signup - Composr

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!
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

mytracker, MVLipwig, Manu, Vaiva, Salman, Philip, John Connor

Forum statistics:
  • 1,214 topics, 5,700 posts, 6,857 members
  • Our newest member is Ektasharma
Birthdays:
Back to Top