Ticket #3295 (closed defect: fixed)
Opened 6 years ago
Last modified 6 years ago
only TICKET_CHANGE and TICKET_ADMIN should be able to assign a ticket on creation
| Reported by: | wkornew | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10 |
| Component: | ticket system | Version: | 0.9.5 |
| Severity: | normal | Keywords: | |
| Cc: | wkornew | ||
| Release Notes: | |||
| API Changes: | |||
Description
Currently, everyone with TICKET_CREATE gets access to the "Assign to:" field when creating a ticket. It would be ideal if one could specify for each field which access rights are needed for getting write access to it.
This patch is related to #3289.
Attachments
Change History
Changed 6 years ago by wkornew
- Attachment restricted.4.zip added
comment:1 Changed 6 years ago by cboos
- Milestone changed from 0.10 to 0.11
At first glance, that patch seems to be conflicting with
the changes on the WorkFlow branch.
As development of 0.11 will start real-soon-now,
and integration of the WorkFlow branch will probably be
one of the first things to be done, I'd suggest that you
redo your patch against that code.
Also, try to either upload files individually or group them
in a single patch file, as wrapping everything in a .zip
makes looking at them harder.
comment:2 Changed 6 years ago by wkornew
No matter if this is in the WorkFlow branch, I think that this should be part of 0.10. We are already using it in our personal Trac instance and it works. #3289 would not be complete without this patch. Please commit it.
Does the WorkFlow branch actually have the code for it already implemented, at all?
Changed 6 years ago by wkornew
- Attachment assign-to.patch added
simplified patch. discussed this with cmlenz. please apply to trunk
Changed 6 years ago by wkornew
- Attachment wiki-TracPermissions.patch added
this patch updates the default wiki documentation for TICKET_MODIFY
Changed 6 years ago by wkornew
- Attachment assign-to.2.patch added
now we actually check if the value is allowed to be set instead of just hiding the field. apply to trunk
comment:3 Changed 6 years ago by wkornew
- Milestone changed from 0.11 to 0.10
Adjusted milestone since our discussions pointed into that direction (and to remind you that you should still apply it ;).
comment:4 Changed 6 years ago by wkornew
- Cc wkornew added
comment:5 Changed 6 years ago by cmlenz
- Resolution set to fixed
- Status changed from new to closed
Patch applied in [3672]. Thanks!



on fieldrestricted? = True the field will only be shown if you have TICKET_MODIFY permission. for V0.9.5