change annotation permissions.yml

This commit is contained in:
amentis 2024-06-03 15:09:17 +03:00
parent 878869ce61
commit 4dfb815dc9
1 changed files with 27 additions and 13 deletions

View File

@ -4,27 +4,24 @@ permissions:
roles: roles:
- TenantAdmin - TenantAdmin
- TenantUser - TenantUser
- TenantManager - TenantPlanManager
- TenantDescriptionTemplateEditor - TenantConfigManager
clients: [ ] clients: [ ]
allowAnonymous: false allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
# Tenants # Tenants
BrowseTenant: BrowseTenant:
roles: roles: [ ]
- Admin
clients: [ ] clients: [ ]
allowAnonymous: false allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditTenant: EditTenant:
roles: roles: [ ]
- Admin
clients: [ "opencdmp-api-dev" ] clients: [ "opencdmp-api-dev" ]
allowAnonymous: false allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
DeleteTenant: DeleteTenant:
roles: roles: [ ]
- Admin
claims: [ ] claims: [ ]
clients: [ "opencdmp-api-dev" ] clients: [ "opencdmp-api-dev" ]
allowAnonymous: false allowAnonymous: false
@ -32,6 +29,7 @@ permissions:
AllowNoTenant: AllowNoTenant:
roles: roles:
- Admin - Admin
- InstallationAdmin
claims: [ ] claims: [ ]
clients: [ ] clients: [ ]
allowAnonymous: false allowAnonymous: false
@ -39,19 +37,17 @@ permissions:
# Users # Users
BrowseUser: BrowseUser:
roles: roles:
- TenantAdmin - Admin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: true
allowAuthenticated: false allowAuthenticated: false
EditUser: EditUser:
roles: roles: [ ]
- TenantAdmin
clients: [ "opencdmp-api-dev" ] clients: [ "opencdmp-api-dev" ]
allowAnonymous: false allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
DeleteUser: DeleteUser:
roles: roles: [ ]
- TenantAdmin
claims: [ ] claims: [ ]
clients: [ "opencdmp-api-dev" ] clients: [ "opencdmp-api-dev" ]
allowAnonymous: false allowAnonymous: false
@ -59,6 +55,10 @@ permissions:
#Annotation #Annotation
BrowseAnnotation: BrowseAnnotation:
roles: roles:
- Admin
- InstallationAdmin
- TenantPlanManager
- TenantConfigManager
- TenantAdmin - TenantAdmin
entityAffiliated: true entityAffiliated: true
clients: [ ] clients: [ ]
@ -66,6 +66,10 @@ permissions:
allowAuthenticated: false allowAuthenticated: false
NewAnnotation: NewAnnotation:
roles: roles:
- Admin
- InstallationAdmin
- TenantPlanManager
- TenantConfigManager
- TenantAdmin - TenantAdmin
entityAffiliated: true entityAffiliated: true
clients: [ ] clients: [ ]
@ -73,12 +77,20 @@ permissions:
allowAuthenticated: false allowAuthenticated: false
EditAnnotation: EditAnnotation:
roles: roles:
- Admin
- InstallationAdmin
- TenantPlanManager
- TenantConfigManager
- TenantAdmin - TenantAdmin
clients: [ ] clients: [ ]
allowAnonymous: true allowAnonymous: true
allowAuthenticated: false allowAuthenticated: false
DeleteAnnotation: DeleteAnnotation:
roles: roles:
- Admin
- InstallationAdmin
- TenantPlanManager
- TenantConfigManager
- TenantAdmin - TenantAdmin
entityAffiliated: false entityAffiliated: false
clients: [ ] clients: [ ]
@ -87,12 +99,14 @@ permissions:
#Tenant Configuration #Tenant Configuration
BrowseTenantConfiguration: BrowseTenantConfiguration:
roles: roles:
- Admin
- TenantAdmin - TenantAdmin
clients: [ ] clients: [ ]
allowAnonymous: false allowAnonymous: false
allowAuthenticated: false allowAuthenticated: false
EditTenantConfiguration: EditTenantConfiguration:
roles: roles:
- Admin
- TenantAdmin - TenantAdmin
clients: [ ] clients: [ ]
allowAnonymous: false allowAnonymous: false