Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Persona UI customization silently falls back to default UI when user lacks ViewBasic on Document

Aperta
#36,082 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
53/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start by tracing the persona document request and the UI fallback for navigation and Home layout; the issue does not name the files or tests, so locate these entry points in the UI code. Check how a 403 is handled when the user lacks ViewBasic on Document. Done means the saved persona is applied or the user and admin receive a clear indication that it could not be loaded.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:authorization bug UI
Affected module

UI

Describe the bug

Persona customizations (navigation and Home page layout) are stored as Documents in DocStore. When a user’s effective policies don’t grant ViewBasic on the Document resource, the persona document request returns 403 and the UI silently falls back to the default navigation and Home widgets. No error or warning is shown to the user or the admin, and the persona editor still shows the saved configuration. This makes it look as if the customization was never applied.

To Reproduce
  • Create a custom policy that grants ViewAll on selected resource types but has no unconditional ViewBasic/ViewAll Allow rule for Document.
  • Attach it to a role (for example a Data Consumer-style role) and assign the role to a non-admin user through a team.
  • As admin, customize a persona via Settings → Personas → → Customize UI (restrict a navigation section, change Home widgets) and save.
  • Assign the persona to the user and set it as their Default Persona.
  • Log in as that user.
Expected behavior

The persona’s navigation and Home layout are applied, or the user and admin get a clear indication that the persona couldn’t be loaded.

OS

No response

Python version

No response

OpenMetadata version

2.0.5

OpenMetadata Ingestion package version

No response

Additional context

No response

Pre-submission checklist
  • I searched for duplicate issues.
  • I removed credentials, hostnames, emails, and other sensitive data from logs and config.
Lingua principale
TypeScript
Stelle
15.4k
Fork
2.4k
Merge medio
1g 4h
PR unite (30g)
707

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di open-metadata/OpenMetadata

Tutte le issue di open-metadata/OpenMetadata

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.