#3295 closed defect (fixed)
only TICKET_CHANGE and TICKET_ADMIN should be able to assign a ticket on creation
Reported by: | wkornew | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | 0.10 |
Component: | ticket system | Version: | 0.9.5 |
Severity: | normal | Keywords: | |
Cc: | wkornew | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal 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 (4)
Change History (9)
by , 19 years ago
Attachment: | restricted.4.zip added |
---|
comment:1 by , 19 years ago
Milestone: | 0.10 → 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 by , 19 years ago
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?
by , 19 years ago
Attachment: | assign-to.patch added |
---|
simplified patch. discussed this with cmlenz. please apply to trunk
by , 19 years ago
Attachment: | wiki-TracPermissions.patch added |
---|
this patch updates the default wiki documentation for TICKET_MODIFY
by , 19 years ago
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 by , 19 years ago
Milestone: | 0.11 → 0.10 |
---|
Adjusted milestone since our discussions pointed into that direction (and to remind you that you should still apply it ;).
comment:4 by , 18 years ago
Cc: | added |
---|
comment:5 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → 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