0.8.6C bug with user permision and graph tree rules

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
Morgan
Cacti User
Posts: 187
Joined: Wed Feb 25, 2004 3:38 am

0.8.6C bug with user permision and graph tree rules

Post by Morgan »

title says it all mostly.

when not signed in but viewing restricted graph treee ( for guest user)
and then signing in as admin, and back to viewing graphs, the permissions of guest accoutn stick over the permissionf of the admin and the restricted graph tree is in use.

fix is to close browser, log in as admin directly and then u get the proper permissions.

this bug sucks for admins :)

Morgan
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um, that should get cleared when you log out.

Can you post a bug in mantis for this and I will take a look at it.

Thanks,
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
Morgan
Cacti User
Posts: 187
Joined: Wed Feb 25, 2004 3:38 am

Post by Morgan »

rony,
i direct guests directly to cacti/graph_view.php, to avoid logins

Guests have limited view of the graph trees.
When i want to view the complete tree, i log in and then my permisions are applied, but not if i browsed to graph_view.php without loging in first.
( so no logout)

if i close my browser and log in directly as admin or my user the permissions are displayed correctly.
Morgan
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um, I will investigate, I think this is related to the graph tree being stored in the session. This was done to reduce the queries to the database. It has been on my task list for about a month now to review how it works and make improvements. It's now moved up in priority.

I will see what I can do about it next week.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
Morgan
Cacti User
Posts: 187
Joined: Wed Feb 25, 2004 3:38 am

Post by Morgan »

thanks.

send me a pm or email if u want any help testing a fix.
Morgan
cinergi
Posts: 10
Joined: Mon Jan 24, 2005 6:36 pm

Post by cinergi »

I think I'm running into a similar problem - I have built-in authentication turned OFF and I'm unable to view trees. With built-in auth turned on, logging in as admin, it works fine.
Version 086c
Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests