bug #7366
closed
TeamOrPersonField readonly if users lacks edit permissions
Added by Andreas Kohlbecker about 6 years ago.
Updated over 5 years ago.
Description
User without sufficient GrantedAuthorities to edit the team or persons in TeamOrPersonField data must be blocked from modifying the data.
Is the visual feedback on the readonly state sufficient?
Andreas Kohlbecker wrote:
User without sufficient GrantedAuthorities to edit the team or persons in TeamOrPersonField data must be blocked from modifying the data.
Kommentar whk: inhaltlich würde das für den Workflow bedeuten, dass user neue Autoren, Teams anlegen würden und die Kuration dann ggf. Datacleaning macht?
Wolf-Henning Kusber wrote:
Andreas Kohlbecker wrote:
User without sufficient GrantedAuthorities to edit the team or persons in TeamOrPersonField data must be blocked from modifying the data.
Kommentar whk: inhaltlich würde das für den Workflow bedeuten, dass user neue Autoren, Teams anlegen würden und die Kuration dann ggf. Datacleaning macht?
So in etwa.
Ein Submitter kann ein neues Autorenteam anlegen und auch bearbeiten. Sobald eine Registrierung die dieses Teams oder Personen verwendet den Status published erreicht, also als Autor oder als Collector, werden dem Submitter die Bearbeitungsrechte entzogen.
Von anderen Usern erzeugte Autoren und Teams dürfen nur verwendet aber nicht verändert werden.
Alles verständlich?
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 40
- Status changed from In Progress to Closed
- % Done changed from 40 to 100
- Related to bug #7586: com.vaadin.data.Property$ReadOnlyException on opening TypeSpecimenWorkingsetEditor added
setting the datasource to readonly as it was implemented for this issue was causing problems with the ToOneRelatedEntityReloader, see #7586
Also available in: Atom
PDF