Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 05:49 am EST

Geeklog Forums

How do I get around seeing something meant for anonymous users?


Status: offline

rjrufo

Forum User
Regular Poster
Registered: 06/14/03
Posts: 95
I'm trying to set up a static page as a splash page, or front page if you want to call it that, and when I log in as the root user, I can still see it. I'm able to get around it by typing /index.php?display=all in the address bar, but that is too inconvenient. I have it set so that only anonymous users see the page, and the Entire Page setting, so is there any way to avoid having to type the display=all command?
 Quote

Status: offline

hidden

Forum User
Chatty
Registered: 11/13/03
Posts: 51
i could be wrong here, any user belonging to the root group can see a particular page even if it is set visible only for anonymous users. that is as far as i know.
we are just shadows of our hidden identities
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by hidden: i could be wrong here, any user belonging to the root group can see a particular page even if it is set visible only for anonymous users. that is as far as i know.

you are correct. one way around this is to use a regular user account with admin privs as well as your root user account, ie, don't log in as root unless you are going to do root-type stuff. regular users, when logged in, will not see stuff only for anon users.
just like the idiot's guide to linux: only log in as root when necessary.
 Quote

Status: offline

rjrufo

Forum User
Regular Poster
Registered: 06/14/03
Posts: 95
Thanks for the info. I guess I'll have to add an admin account that isn't root. I should have thought about that.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The Static Pages plugin actually breaks with the convention that Root users can see anything. So if you create a static page that only anonymous users can see, then Root user should not see it (but they can still edit it, of course).

This change was specifically made for splash screens (in Static Pages 1.4, i.e. Geeklog 1.3.9).

bye, Dirk
 Quote

Status: offline

rjrufo

Forum User
Regular Poster
Registered: 06/14/03
Posts: 95
Quote by Dirk:
This change was specifically made for splash screens (in Static Pages 1.4, i.e. Geeklog 1.3.9).


I have GL 1.3.9 installed with SP 1.4, so I shouldn't have to add ?display=all once I log in as root? Is there something that needs to be configured? Or maybe I broke something?
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by Dirk: The Static Pages plugin actually breaks with the convention that Root users can see anything. So if you create a static page that only anonymous users can see, then Root user should not see it (but they can still edit it, of course).

This change was specifically made for splash screens (in Static Pages 1.4, i.e. Geeklog 1.3.9).

bye, Dirk

That may be, but it seems to me that when a static page is set to display as a centerblock on the main page, the convention remains and the block is displayed for a root user (me, who is also the owner) even though it is set to only display for anonymous users. I am using GL 1.3.9 and have, as far as I can tell, set the perms properly. Perhaps this has to do with me being the "owner" of the page, I dunno.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
confused
I'm actually a bit baffled, as that change I mentioned above is in the list of changes for 1.3.9, but the code change apparently isn't.

Have to investigate this further ...

bye, Dirk
 Quote

Status: offline

rjrufo

Forum User
Regular Poster
Registered: 06/14/03
Posts: 95
Quote by machinari:
That may be, but it seems to me that when a static page is set to display as a centerblock on the main page, the convention remains and the block is displayed for a root user (me, who is also the owner) even though it is set to only display for anonymous users. I am using GL 1.3.9 and have, as far as I can tell, set the perms properly. Perhaps this has to do with me being the "owner" of the page, I dunno.


I don't think the owner has anything to do with it. I changed the owner in the database to various UIDs, and that didn't seem to make a difference. I also changed the group to try that as well, but still no luck there. Maybe Dirk can find what went wrong, and post a fix here.
 Quote

Status: offline

hidden

Forum User
Chatty
Registered: 11/13/03
Posts: 51
Quote by machinari:
Quote by Dirk: The Static Pages plugin actually breaks with the convention that Root users can see anything. So if you create a static page that only anonymous users can see, then Root user should not see it (but they can still edit it, of course).

This change was specifically made for splash screens (in Static Pages 1.4, i.e. Geeklog 1.3.9).

bye, Dirk

That may be, but it seems to me that when a static page is set to display as a centerblock on the main page, the convention remains and the block is displayed for a root user (me, who is also the owner) even though it is set to only display for anonymous users. I am using GL 1.3.9 and have, as far as I can tell, set the perms properly. Perhaps this has to do with me being the "owner" of the page, I dunno.


i agree with you, when you set a static page to display in the center block, root users can see it even even if is only set visible for anonymous users.
we are just shadows of our hidden identities
 Quote

All times are EST. The time is now 05:49 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content