Persona UI customization silently falls back to default UI when user lacks ViewBasic on Document
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
- Ambito
- authentication, frontend
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di open-metadata/OpenMetadata
-
Flaky Playwright: ProductTour Classic walk presses Next past the last step and finishes the tourForse già presa @shrabantipaul-collate l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
open-metadata/OpenMetadata#36285 ·
I maintainer di solito rispondono entro 1 giorno
-
AI Context empty state covers the whole app and blocks sidebar navigation when no persona existsApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
open-metadata/OpenMetadata#36240 ·
I maintainer di solito rispondono entro 1 giorno
-
UpdatedOn semantic Playwright tests mix local dates with UTC thresholdsForse già presa @ZhangJin233 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-metadata/OpenMetadata#36151 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Java SDK glossary term assets GET sends RequestOptions as a request bodyForse già presa @LubabaKhalid l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
open-metadata/OpenMetadata#36150 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
open-metadata/OpenMetadata#36094 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di open-metadata/OpenMetadata
Issue simili
-
DRY stats column groupingsApertaready
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
wheresrhys/totf#1214 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeChefVIT/ffcs#281 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
endora-commerce/endora-commerce#451 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
vetro-protocol/vetro-monorepo#1007 ·
I maintainer di solito rispondono entro 1 giorno