aYOUne
translate
Not in your language

This page is not yet available in en. You're reading the de version.

ay access

ay access

Zeigt accessible Module + Collections für den aktuell authentifizierten User. Inklusive Bar-Chart, Modul-Drilldown und Search-Modus.

Syntax

ay access [flags]

Flags

Flag Default Zweck
--module <name> Detail-View für ein einzelnes Modul
--search <query> Cross-Module Fuzzy-Search nach Collection-Name oder Right
--no-interactive Disabled das Drilldown-Prompt

Beispiele

# Interaktiver Modul-Browser mit Drilldown
ay access

# Detail eines Moduls
ay access --module crm

# Suche nach Collections
ay access --search contacts

# Nur Summary-Tabelle, kein Prompt
ay access --no-interactive

# JSON für Scripts
ay access -r json

Output (Summary)

  Access Summary
  User: Maximilian   Type: superuser
  21 modules, 566 collections accessible

  MODULE        LABEL                          #    SHARE
  ──────────────────────────────────────────────────────
  config        Configuration                145    ████████████████
  marketing     Marketing                     67    ███████▌
  crm           CRM                           42    ████▌
  …
  ★ Superuser — all modules including system collections

Drilldown

Im interaktiven Mode → Modul wählen → Collections-Liste → Collection wählen → Quick-Commands:

  List:     ay list crm contacts
  Get:      ay get crm contacts
  Search:   ay search contacts "<query>"
  Describe: ay describe contacts <id>
  Export:   ay export run crm contacts

Hinweis

access ist offline — basiert auf der lokalen modelsAndRights.ts der CLI. Effective rights des Users werden nicht zur Server-Validierung gegengecheckt; HTTP-403 beim eigentlichen Call ist die Single-Source-of-Truth.

Siehe auch

  • modules — Interaktiver Modul-Browser mit Operations
  • permissions — Permission-Requests