mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 11:22:33 +01:00
0123d83fb2
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. |
||
---|---|---|
.. | ||
UserApiTokenTest.php | ||
UserManagementTest.php | ||
UserPreferencesTest.php | ||
UserProfileTest.php | ||
UserSearchTest.php |