Change
Display form paragraph readonly when viewable, but not editable
Issue description
When a user group currently has the right to view a field but not to edit it, the field is completely ommited in the form and therefore not visible. In some cases it would be very useful if a given value would still be present in the form, just not editable.
Developer comments
If an old topic has a value the behavior is clear, display the form field immutable, since the user can anyway see it in the fact sheet. If the topic is new, it is a bit more complcated.
As of this change non viewable implies non editable.
* viewable / editable => present in factsheet and form
* viewable / non editable => present in factsheet, present readonly in form
* non-viewable => absent in factsheet and form
This makes more sense from a security perspective non-viewable implies non-editable. If you need to hide a viewable field in the factsheet use CSS.
Rejection comment
Unfortunately this does not work in production. Fields pop up in the form which are augmented in an AFTER-SAVE trigger. In the case at hand, the transport order, an additional charge is computed and added to the total price depending on the base prices. Charge and total are viewable, but not editable and should not be present in the form, but now they are. This is a case from a single system, but there is probaly numeruous more examples just like that. There needs to be [7812, another solution].
|
Work sessions2
| Start |
2025-12-20T18:00:37
|
| End |
2025-12-20T19:05:22
|
| Participant |
Robert Cerny
|
| Start |
2025-12-21T15:00:52
|
| End |
2025-12-21T17:16:03
|
| Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.