mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 12:25:22 +02:00
fix(docker/networks): show correct resource control data [EE-3401] (#7060)
This commit is contained in:
parent
18252ab854
commit
92eaa02156
6 changed files with 20 additions and 15 deletions
|
@ -1,7 +1,6 @@
|
|||
import { render } from '@/react-tools/test-utils';
|
||||
import { UserContext } from '@/portainer/hooks/useUser';
|
||||
import { UserViewModel } from '@/portainer/models/user';
|
||||
import { ResourceControlOwnership } from '@/portainer/access-control/types';
|
||||
|
||||
import { DockerNetwork } from '../types';
|
||||
|
||||
|
@ -113,9 +112,9 @@ function getNetwork(networkName: string): DockerNetwork {
|
|||
},
|
||||
],
|
||||
TeamAccesses: [],
|
||||
Ownership: ResourceControlOwnership.PUBLIC,
|
||||
Public: true,
|
||||
System: false,
|
||||
AdministratorsOnly: true,
|
||||
},
|
||||
},
|
||||
Scope: 'local',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue