@labkey/api
    Preparing search index...

    Interface GetPolicyOptions

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

    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?: Policy,
        relevantRoles?: string[],
        request?: XMLHttpRequest,
    ) => any

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