snapshots: change to snapshot list query
Admins can see all snapshots. Other roles can only see their own snapshots. Added permission check for deleting snapshots - admins can delete any snapshot, other roles can delete their own snapshots or snapshots that they have access to via dashboard permissions.
Showing
pkg/api/dashboard_snapshot_test.go
0 → 100644
Please
register
or
sign in
to comment