mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-01 18:25:01 -05:00
test(socket): update permission test for admin-only lock toggle
batch-toggle-locked is now admin-only, so write role should be denied. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -217,7 +217,7 @@ describe('checkRolePermission', () => {
|
||||
{
|
||||
operation: 'batch-toggle-locked',
|
||||
adminAllowed: true,
|
||||
writeAllowed: true,
|
||||
writeAllowed: false, // Admin-only operation
|
||||
readAllowed: false,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user