iya-sts
    Preparing search index...

    Class export=

    /portal/owned/*. A static utility class.

    Index
    PAGES: PortalPage[] = ...

    The pages, for web_portal_pages.ts: each kind's list, and with ?name= one of them, read from the management API (#607).

    • An application's cards, from GET /admin-api/applications?application=.

      Parameters

      • answer: any

        the answer

      • write: boolean

        whether the token carries owner:write

      • t: any

        the translator

      Returns string

      the HTML

    • One labelled text box, or a box of lines.

      Parameters

      • label: string

        the label's HTML

      • name: string

        the field's name

      • value: unknown

        its value; an array is one value a line

      • Optionallines: boolean

        whether it is a box of lines

      Returns string

      the HTML

    • A form to one management API operation: data-admin is where the runtime sends it, with the owner token.

      Parameters

      • op: string

        /admin-api/<kind>/<action>

      • hidden: any

        the fields that name the object

      • inner: string

        the visible fields, and a <button>

      • Optionaldanger: boolean

        whether the button is drawn as a destructive one

      Returns string

      the HTML

    • A group's cards, from GET /admin-api/groups?group='s { group }.

      Parameters

      • answer: any

        the answer

      • write: boolean

        whether the token carries owner:write

      • query: any

        the page's query, for the members' pager

      • t: any

        the translator

      Returns string

      the HTML

    • The kind a portal path is the page of.

      Parameters

      • here: unknown

        the path and query, under the realm

      Returns string

      one of the kinds; roles where none matches

    • The owners card, the same on every kind: each owner with a Remove while there are two or more — the last cannot go here (rcbj's decision 3) — and an Add.

      Parameters

      • owners: any[]

        [{ dn, kind, name }]

      • ops: any

        { add, remove }, the two operations

      • hidden: any

        the fields that name the object

      • write: boolean

        whether the token carries owner:write

      • t: any

        the translator

      Returns string

      the HTML

    • A page's body: the list, or one object where the query names it.

      Parameters

      • view: any

        GET /account-api/owned/<kind>'s answer, or { owned } for one object (#607)

      • ctx: any

        the render context

      Returns string

      the HTML

    • One object a person owns, drawn from the management API (#607).

      Parameters

      • owned: any

        { status, answer, canWrite, query }

      • ctx: any

        the render context

      Returns string

      the HTML

    • A role's cards, from GET /admin-api/roles?role='s { role }.

      Parameters

      • answer: any

        the answer

      • write: boolean

        whether the token carries owner:write

      • t: any

        the translator

      Returns string

      the HTML

    • A service account's cards, from GET /admin-api/service-accounts?account='s { account }.

      Parameters

      • answer: any

        the answer

      • write: boolean

        whether the token carries owner:write

      • t: any

        the translator

      Returns string

      the HTML