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

Some pages that have permission errors dont raise proper messages #2707

Closed
ddb4github opened this issue May 27, 2019 · 2 comments
Closed

Some pages that have permission errors dont raise proper messages #2707

ddb4github opened this issue May 27, 2019 · 2 comments
Labels
bug Undesired behaviour resolved A fixed issue

Comments

@ddb4github
Copy link
Contributor

Describe the bug
Blank page and does not auto-logout if current user has not page permission

To Reproduce
Steps to reproduce the behavior:

  1. Browser#1: Login with 'usera', access 'Graph Template'
  2. Browser#2, access Cacti-->User Management-->'usera'(edit)
  3. Browser#2, remove 'device template' permission
  4. Browser#1, click 'device template' from navigation menu
  5. Browser#1, see 'blank page'
  6. Browser#1, reload page by F5, auto-logout like screenshot below

Expected behavior
auto-logout, make sure step#5 like step#6

Screenshots
image

@cigamit
Copy link
Member

cigamit commented May 27, 2019

Going to address this a little bit differently.

@cigamit cigamit changed the title Blank page and does not auto-logout if current user has not page permission When pages are called through a callback that the user does not have permssion to access raise error May 27, 2019
@cigamit cigamit changed the title When pages are called through a callback that the user does not have permssion to access raise error Some pages that have permission errors dont raise proper messages May 27, 2019
cigamit added a commit that referenced this issue May 27, 2019
Some pages that have permission errors dont raise proper messages
@cigamit cigamit added bug Undesired behaviour resolved A fixed issue labels May 27, 2019
@ddb4github
Copy link
Contributor Author

Workable with popup message

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 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