iya-sts
    Preparing search index...

    Class export=

    Draws /admin/rbac from the answer of GET /admin-api/rbac: who may use this console, the grants of its two roles, the person chooser and the forms that grant and revoke, and the settings.

    A static utility class; it holds no state and takes no dependencies.

    Index
    • Draws the page's body from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of the page's management API operation

      Returns string

      the body as HTML

    • Draws the caveat at the foot of Admin roles.

      Parameters

      • t: any

        the page's translator

      Returns string

      the caveat as HTML

    • Draws the mark on a grant held through the person's own memberOf rather than the group's member list.

      Parameters

      • t: any

        the page's translator

      • row: any

        the grant row

      Returns string

      the "via their own memberOf" mark as HTML, or an empty string

    • Draws the person cell of one admin-role grant row.

      A known person links to their Users page; one in the directory but never seen is marked "never here", and a DN with no entry is marked "dangling".

      Parameters

      • t: any

        the page's translator

      • row: any

        the grant row

      • knownKeys: any

        the user keys that have a page on Users

      Returns string

      the cell's contents as HTML