New Edit Content: a user without edit permission gets an empty command bar instead of a read-only form
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java, typescript
- Ambito
- authorization, frontend
Direzione di ricerca
Start with core-web/libs/edit-content/src/lib/store/features/user/ and form.feature.ts, then trace how EDIT and PUBLISH permissions affect the form, sidebar actions, and command bar. Add coverage for the three permission combinations described in the acceptance criteria; done means read-only fields and a permission message without EDIT, and only permitted actions with EDIT but without PUBLISH.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem Statement
When a user who can read but not edit a contentlet opens it in the new Edit Content Screen, the workflow command bar is empty and nothing tells the user why. The form looks editable, edits are accepted, and there is no way to save them. Decided on 2026-10-15 in #feat-edit-content: render the form read-only with the message "You don't have permission to edit". The full prototype from design is pending; this ticket tracks the implementation.
Steps to Reproduce
- Create a role with READ but not EDIT on a content type and on an existing contentlet; assign it to a user with the Content portlet.
- Log in as that user and open the contentlet in the new editor.
Expected: read-only fields and a permission message. Actual: editable fields, empty command bar, no message.
Acceptance Criteria
- Without EDIT permission every field is rendered disabled and the sidebar actions that need EDIT are hidden.
- A message explains that the user does not have permission to edit.
- With EDIT but without PUBLISH, the command bar shows only the actions the user can run.
- Spec covers the three permission combinations.
dotCMS Version
main (2026-11-18)
Severity
Serious
Links
- #38634 pillar; related #34787
- Code:
core-web/libs/edit-content/src/lib/store/features/user/,form.feature.ts
- Lingua principale
- Java
- Stelle
- 972
- Fork
- 493
- Merge medio
- 2g 12h
- PR unite (30g)
- 228
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
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 dotCMS/core
-
dotCMS : UVE OKR : Customer Support Team : Maintenance Type : Defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
-
OKR : Customer Support Team : Maintenance Type : Defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
Opening content from Content Search replaces the "Search" breadcrumb in the new Edit Content screenApertadotCMS: New Edit Contentlet OKR : Customer Support Team : Falcon Type : Defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
Escape the Binary field hint in the legacy content editor so an apostrophe doesn't break the fieldApertaOKR : Customer Support Team : Maintenance Type : Defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 2 giorni
-
dotCMS : Permissions OKR : Customer Support Team : Maintenance Type : Defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
it-at-m/Wahllokalsystem#3846 ·
I maintainer di solito rispondono entro 2 giorni
-
Area/Connector module/solace Priority/Low Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ballerina-platform/ballerina-library#9849 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
Vakore/ZappierGames#327 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Radix number block generates NaN after switching a negative or decimal number to binary, octal or hexForse già presa @matthewalberto l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
mit-cml/appinventor-sources#4246 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno