mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-25 06:37:36 +03:00
Permissions: Removed unused role-perm columns, added permission enum
Updated main permission check methods to support our new enum.
This commit is contained in:
@@ -14,6 +14,11 @@ return new class extends Migration
|
||||
Schema::table('comments', function (Blueprint $table) {
|
||||
$table->dropColumn('text');
|
||||
});
|
||||
|
||||
Schema::table('role_permissions', function (Blueprint $table) {
|
||||
$table->dropColumn('display_name');
|
||||
$table->dropColumn('description');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user