Skip to content

[Bug]: [FMCS=ON] Locations without company are shown to users assigned to companies, even when FLOATERS are not enabled. #19622

Description

@swift2512

Snipe-IT Version

v8.7.2 - build 24589 (DEMO)

PHP Version

(DEMO)

Composer Version

(DEMO)

MySQL/MariaDB version

(DEMO)

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

Fresh install

What happened?

FMCS= ON
FLOATERS= OFF

  1. User is assigned to a company. (not a superuser)
Image
  1. User has permission to view locations.
  2. Have locations without a company.
  3. Open 'Locations' view in Settings

R: Locations without a company are shown, but should be hidden like any other object without a company.

Image

What browsers are you seeing the problem on?

Microsoft Edge

Can you reproduce this on the public demo?

Yes

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?

No

Application log output

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions