Sorting a Book seems to clear permissions #243

Closed
opened 2026-02-04 17:56:50 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @ssddanbrown on GitHub (Jan 23, 2017).

Does not effect admins since they bypass the permissions system. Need further investigation. Will look into tonight.

If this issue occurs for you, you can regenerate all permissions using the command php artisan permissions:regen from within the folder your BookStack instance is located.

Originally created by @ssddanbrown on GitHub (Jan 23, 2017). Does not effect admins since they bypass the permissions system. Need further investigation. Will look into tonight. If this issue occurs for you, you can regenerate all permissions using the command `php artisan permissions:regen` from within the folder your BookStack instance is located.
OVERLORD added the 🐛 Bug label 2026-02-04 17:56:50 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jan 24, 2017):

Seemed to be when no models were changed the 'joint permission' delete query would not be given any where clauses causing a total table deletion.

@ssddanbrown commented on GitHub (Jan 24, 2017): Seemed to be when no models were changed the 'joint permission' delete query would not be given any where clauses causing a total table deletion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#243