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

Improve warning you get when attempting to view a log file you don't have access to #3960

Closed
TheWitness opened this issue Nov 27, 2020 · 0 comments
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

Describe the bug

If for some reason you don't have read access to one of the Cacti log files, issue a message that appears in the content area of the panel instead of in an area not intended for messages.

To Reproduce

Steps to reproduce the behavior:

  1. Remove access to your stderr log files, say chmod 600 stderr;chown root:root stderr

  2. Goto the 'Log' tab

  3. Select one of the log files

  4. Note that the not readable message is in the wrong part of the page

Expected behavior

Cacti should write content into the correct area within pages it renders.

@TheWitness TheWitness added the bug Undesired behaviour label Nov 27, 2020
@TheWitness TheWitness added this to the v1.2.16 milestone Nov 27, 2020
TheWitness added a commit that referenced this issue Nov 27, 2020
Improve warning you get when attempting to view a log file you don't have access to
@TheWitness TheWitness added the resolved A fixed issue label Nov 27, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Feb 26, 2021
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

1 participant