fix(swagger): added missing Permission type: dbrp (#18260)
parent
876238d688
commit
96110ec5f9
|
@ -7393,6 +7393,7 @@ components:
|
|||
- notificationRules
|
||||
- notificationEndpoints
|
||||
- checks
|
||||
- dbrp
|
||||
id:
|
||||
type: string
|
||||
nullable: true
|
||||
|
|
|
@ -58,6 +58,20 @@ const hvhs: Permission[] = [
|
|||
type: 'dashboards',
|
||||
},
|
||||
},
|
||||
{
|
||||
action: 'read',
|
||||
resource: {
|
||||
orgID: 'bulldogs',
|
||||
type: 'dbrp',
|
||||
},
|
||||
},
|
||||
{
|
||||
action: 'write',
|
||||
resource: {
|
||||
orgID: 'bulldogs',
|
||||
type: 'dbrp',
|
||||
},
|
||||
},
|
||||
{
|
||||
action: 'read',
|
||||
resource: {
|
||||
|
|
|
@ -11,6 +11,7 @@ const allPermissionTypes: PermissionTypes[] = [
|
|||
'buckets',
|
||||
'checks',
|
||||
'dashboards',
|
||||
'dbrp',
|
||||
'documents',
|
||||
'labels',
|
||||
'notificationRules',
|
||||
|
@ -36,6 +37,7 @@ const ensureT = (orgID: string) => (t: PermissionTypes): Permission[] => {
|
|||
case 'buckets':
|
||||
case 'checks':
|
||||
case 'dashboards':
|
||||
case 'dbrp':
|
||||
case 'documents':
|
||||
case 'labels':
|
||||
case 'notificationRules':
|
||||
|
|
Loading…
Reference in New Issue