mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 13:24:46 +02:00
Fix incorrect Allocation
permission in Node's AllocationsRelationManager
(#995)
This commit is contained in:
parent
48d1ef5d26
commit
c561035c75
@ -107,7 +107,7 @@ class AllocationsRelationManager extends RelationManager
|
||||
->bulkActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make()
|
||||
->authorize(fn () => auth()->user()->can('delete allocation')),
|
||||
->authorize(fn () => auth()->user()->can('update node')),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user