kernl API
    Preparing search index...

    Function grantGroups

    • The grants list as groups: required domains on and fixed, optional ones off and free, and, at the top, the required domains an applet that reads messages cannot have beside them (D-046), under a caption that says so. Those are off until the person allows them, one at a time. Domains this shell cannot offer, and optional ones messages withhold, are shown off and fixed.

      Parameters

      Returns GrantGroup[]

      The groups that have rows, in the order they are shown.

      grantGroups({ requires: ['dm', 'upload'], optional: [], baseline: [], available: ['dm', 'upload'] }, { on: new Set(['dm']), kept: new Set() })[0]?.id; // 'unsafe'