Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 6.23 KB

File metadata and controls

28 lines (23 loc) · 6.23 KB

AccessDeniedReason

Example Usage

import { AccessDeniedReason } from "@launchdarkly/mcp-server/models/components";

let value: AccessDeniedReason = {
  resources: [
    "proj/*:env/*;qa_*:/flag/*",
  ],
  actions: [
    "*",
  ],
  effect: "allow",
};

Fields

Field Type Required Description Example
resources string[] Resource specifier strings [
"proj/:env/;qa_:/flag/"
]
notResources string[] Targeted resources are the resources NOT in this list. The resources and notActions fields must be empty to use this field.
actions string[] Actions to perform on a resource [
"*"
]
notActions string[] Targeted actions are the actions NOT in this list. The actions and notResources fields must be empty to use this field.
effect components.AccessDeniedReasonEffect ✔️ Whether this statement should allow or deny actions on the resources. allow
roleName string N/A