|
|
@ -6,7 +6,7 @@ import { r2a } from '@/react-tools/react2angular';
|
|
|
|
import { TeamMembership, Role } from '@/portainer/teams/types';
|
|
|
|
import { TeamMembership, Role } from '@/portainer/teams/types';
|
|
|
|
import { useUserMembership } from '@/portainer/users/queries';
|
|
|
|
import { useUserMembership } from '@/portainer/users/queries';
|
|
|
|
|
|
|
|
|
|
|
|
import { Table, TableContainer, TableTitle } from '@@/datatables';
|
|
|
|
import { TableContainer, TableTitle } from '@@/datatables';
|
|
|
|
import { Button } from '@@/buttons';
|
|
|
|
import { Button } from '@@/buttons';
|
|
|
|
|
|
|
|
|
|
|
|
import { ResourceControlType, ResourceId } from '../types';
|
|
|
|
import { ResourceControlType, ResourceId } from '../types';
|
|
|
@ -48,7 +48,6 @@ export function AccessControlPanel({
|
|
|
|
<div className="col-sm-12">
|
|
|
|
<div className="col-sm-12">
|
|
|
|
<TableContainer>
|
|
|
|
<TableContainer>
|
|
|
|
<TableTitle label="Access control" icon="eye" featherIcon />
|
|
|
|
<TableTitle label="Access control" icon="eye" featherIcon />
|
|
|
|
<Table className="no-padding">
|
|
|
|
|
|
|
|
<AccessControlPanelDetails
|
|
|
|
<AccessControlPanelDetails
|
|
|
|
resourceType={resourceType}
|
|
|
|
resourceType={resourceType}
|
|
|
|
resourceControl={resourceControl}
|
|
|
|
resourceControl={resourceControl}
|
|
|
@ -74,7 +73,6 @@ export function AccessControlPanel({
|
|
|
|
onUpdateSuccess={handleUpdateSuccess}
|
|
|
|
onUpdateSuccess={handleUpdateSuccess}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</Table>
|
|
|
|
|
|
|
|
</TableContainer>
|
|
|
|
</TableContainer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|