Skip to content

security: Ensure that reports does not work as guest#7167

Merged
TheWitness merged 3 commits into
Cacti:1.2.xfrom
TheWitness:reports-access
May 27, 2026
Merged

security: Ensure that reports does not work as guest#7167
TheWitness merged 3 commits into
Cacti:1.2.xfrom
TheWitness:reports-access

Conversation

@TheWitness
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tightens access control in Cacti’s web UI by preventing the Reporting pages from being accessible via the guest account, ensuring include/auth.php enforces a real login for report management.

Changes:

  • Removed $guest_account = true; from reports_user.php.
  • Removed $guest_account = true; from reports_admin.php.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
reports_user.php Stops enabling guest authentication on the user reporting page so auth.php requires a logged-in session.
reports_admin.php Stops enabling guest authentication on the admin reporting page so auth.php requires a logged-in session.

@TheWitness TheWitness merged commit 261a9f8 into Cacti:1.2.x May 27, 2026
5 checks passed
@TheWitness TheWitness deleted the reports-access branch May 27, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants