BookStack/app/Auth
Dan Brown 0123d83fb2
Fixed not being able to remove all user roles
User roles would only be actioned if they existed in the form request,
hence removal of all roles would have no data to action upon.
This adds a placeholder 0-id role to ensure there is always role data to
send, even when no roles are selected. This field value is latter
filtered out.

Added test to cover.

Likely related to #3922.
2022-12-16 17:44:13 +00:00
..
Access Fixed OIDC handling when no JWKS 'use' prop exists 2022-11-23 11:50:59 +00:00
Permissions Worked towards phpstan level 2, 13 errors remain 2022-10-24 12:12:48 +01:00
Queries Refactored common list handling operations to new class 2022-10-30 15:16:06 +00:00
Role.php Revised role index list to align with user list 2022-10-29 20:52:17 +01:00
SocialAccount.php Laravel 7.x Shift (#3011) 2021-10-26 22:04:18 +01:00
User.php Refactored search-based code to its own folder 2022-08-16 11:28:05 +01:00
UserRepo.php Fixed not being able to remove all user roles 2022-12-16 17:44:13 +00:00