Skip to content

Commit

Permalink
[Obs AI Assistant] Update feature pivilege tag
Browse files Browse the repository at this point in the history
  • Loading branch information
viduni94 committed Nov 25, 2024
1 parent cbe2f4f commit 97a7965
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class ObservabilityPlugin implements Plugin<ObservabilityPluginSetup> {
all: {
app: [observabilityFeatureId],
catalogue: [observabilityFeatureId],
api: ['rac', 'observability'],
api: ['rac', 'ai_assistant'],
savedObject: {
all: [],
read: [],
Expand All @@ -164,7 +164,7 @@ export class ObservabilityPlugin implements Plugin<ObservabilityPluginSetup> {
read: {
app: [observabilityFeatureId],
catalogue: [observabilityFeatureId],
api: ['rac', 'observability'],
api: ['rac', 'ai_assistant'],
savedObject: {
all: [],
read: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const getObservabilityAlertDetailsContextRoute = createObservabilityServerRoute(
},
security: {
authz: {
requiredPrivileges: ['observability'],
requiredPrivileges: ['ai_assistant'],
},
},
params: t.type({
Expand Down

0 comments on commit 97a7965

Please sign in to comment.