Skip to content

[Bug]: Group permissions bugged #18157

@swift2512

Description

@swift2512

Snipe-IT Version

v8.3.4 - build 20218 (master)

PHP Version

PHP 8.3.23 (cli)

Composer Version

Composer version 2.8.6

MySQL/MariaDB version

mariadb Ver 15.1 Distrib 10.6.22-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

Upgrade

What happened?

First of all - Report Access can be set to GRANTED/DENIED at the same time. If saved - it stays like this ant can't revert to GRANTED or DENIED only. (Confirmed on Snipe-IT Demo.)
Image
Second issue is related to large user count in group. This may be only related to my installs. (Couldn't test it on Snipe-IT Demo due to restrictions.) Basically, if add more than 882 users to that permissions group (my case), you will loose number of permissions based on number of users you are over 882, when that group is edited and saved. (You don't need to change any permissions - just press Save in edit page.) No errors are shown in DEBUG mode, nothing saved in laravel.log file - green banner with success message.
Image
Third issue - users are stripped of permission group membership if there are more than 995 users in that group.

  1. Have a permission group with 1000 members.
  2. Edit that permission group (EDIT -> SAVE)
    Result: only first 995 users are left in that group (in my case), other remaining users are removed from that group.
Image

What browsers are you seeing the problem on?

Firefox, 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions