mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-03-26 00:16:20 +08:00

Previously additional roles would only partially apply (system or "all" permissions). This aligns the query-handling of permissions so that additional roles will be used for permission queries. Adds migration to detach existing roles as a safety precaution since this is likely to widen permissions in scenarios that the public user has other roles assigned already. For #1229