Interface GetPolicyOptions

interface GetPolicyOptions {
    containerPath?: string;
    failure?: RequestFailure;
    resourceId: string;
    scope?: any;
    success?: ((policy?, relevantRoles?, request?) => any);
}

Properties

containerPath?: string

An alternate container path to get permissions from. If not specified, the current container path will be used.

failure?: RequestFailure

A reference to a function to call when an error occurs.

resourceId: string

The unique id of the securable resource.

scope?: any

A scoping object for the success and error callback functions (default to this).

success?: ((policy?, relevantRoles?, request?) => any)

A reference to a function to call with the API results.

Type declaration

    • (policy?, relevantRoles?, request?): any
    • Parameters

      • Optional policy: Policy
      • Optional relevantRoles: string[]
      • Optional request: XMLHttpRequest

      Returns any

Generated using TypeDoc