Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When session timeout occurs, subsequent authorized access to areas can become blocked #3607

Closed
arno-st opened this issue Jun 12, 2020 · 5 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@arno-st
Copy link
Contributor

arno-st commented Jun 12, 2020

I have a strange issue.
When I'm kicked out of cacti by the timeout session, and my graph are display as guest.
I click as 'Login as regular user' and go to the authentication process as usual, I can't access the log file anymore.
I can't click to the tab Log, and if i access to the clog.php I have this error:
FATAL: YOU DO NOT HAVE ACCESS TO THIS AREA OF CACTI
But If I go to 'uttilites' -> 'System Utilities' -> 'log administration' I able to see my log.

But every other access are ok (based on my user right who is equivalent to admin)

And no error message on the log

It's on Cacti 1.2.12

TheWitness added a commit that referenced this issue Jun 13, 2020
Can't access log after been kicked out by timeout
@TheWitness TheWitness added bug Undesired behaviour resolved A fixed issue labels Jun 13, 2020
@TheWitness TheWitness added this to the 1.2.13 milestone Jun 13, 2020
@TheWitness
Copy link
Member

Okay, I've confirmed and corrected this. Update include/auth.php from the 1.2.x branch, and re-test. If it works, please close.

@TheWitness
Copy link
Member

Looks like you pulled the file from the develop branch and not the 1.2.x branch.

@arno-st
Copy link
Contributor Author

arno-st commented Jun 15, 2020

Yes, that's why I delete the messages.
i download the right one, and I'm testing it
I will let you know

@TheWitness
Copy link
Member

Okay, cool. I was able to confirm with my test environment, though sometimes I get it wrong. So, just give an update and close if it's all good.

@arno-st
Copy link
Contributor Author

arno-st commented Jun 16, 2020

Ok, I'm not kicked out anymore !

@arno-st arno-st closed this as completed Jun 16, 2020
@netniV netniV changed the title Can't access log after been kicked out by timeout When session timeout occurs, subsequent authorized access to areas can become blocked Jul 12, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants