BookStack/resources
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
..
icons Tightened existing markdown editor styles 2022-11-27 19:52:10 +00:00
js Merge branch 'development' of https://github.com/jhit/BookStack into jhit-development 2022-12-16 17:12:57 +00:00
lang New Crowdin updates (#3881) 2022-12-16 17:06:52 +00:00
sass Converted md settings to localstorage, added preview resize 2022-11-28 14:08:20 +00:00
views Fixed not being able to remove all user roles 2022-12-16 17:44:13 +00:00