1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(ui): restrict views by role [EE-6595] (#11010)

This commit is contained in:
Chaim Lev-Ari 2024-02-15 13:29:55 +02:00 committed by GitHub
parent 437831fa80
commit f5f84c5fa4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 338 additions and 83 deletions

View file

@ -1,5 +1,6 @@
import angular from 'angular';
import { AccessHeaders } from '@/portainer/authorization-guard';
import edgeStackModule from './views/edge-stacks';
import { reactModule } from './react';
@ -12,6 +13,9 @@ angular
url: '/edge',
parent: 'root',
abstract: true,
data: {
access: AccessHeaders.EdgeAdmin,
},
};
const groups = {