snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Syncing with AD is only possible for the superuser

Open UserGoodtm opened this issue 5 years ago • 1 comments

Please confirm you have done the following before posting your bug report:

Describe the bug After upgrading from 4.9.5 to the latest current version, there were problems with creating users (syncing with AD). Some it employees did not have superuser rights, but they did have rights to create users. In version 4.9.5 and earlier, they could sync with AD and thus create users. In version 5.0.10, they can no longer sync with AD, and they don't have enough permissions. Only users with superuser rights can start syncing with AD.

UserGoodtm avatar Dec 07 '20 14:12 UserGoodtm

The permission required for LDAP syncing is $this->authorize('update', User::class);, since syncing can create new users but can also modify existing users.

snipe avatar Sep 21 '23 15:09 snipe