Skip to content

[Bug]: Unable to view items in Audit Log without Super Admin Access #18896

@yusuf-basith

Description

@yusuf-basith

Snipe-IT Version

8.4.1

PHP Version

8.3.20

Composer Version

2.8.12

MySQL/MariaDB version

MySQL 5.7

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

Upgrade

What happened?

The Audit Log report is populated with items only when the user has Super Admin Access.
We have Multi Companies Support enabled.

With Admin Access or with Report Access, the Audit Log Page is visible and reacheable.
However, the items are not loaded. It says No matching records found.

With Admin Access or with Report Access, I expect to see the Audit Logs for my Company.

Image

What browsers are you seeing the problem on?

No response

Can you reproduce this on the public demo?

N/A

Do you have full multiple company support enabled?

Yes

If you have full multiple company support enabled, do you have location scoping to company enabled?

Yes

Application log output

Can't find anything related to this in the logs.

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions