Modify ↓
Opened 16 years ago
Closed 15 years ago
#3835 closed defect (duplicate)
Correct permission for ticket modify
Reported by: | okamototk | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
Hi,
XmlRpcPlugin needs TRAC_ADMIN permission for update ticket. However I think it should be TRAC_MODIFY permission. I attached the pacth. Please improve it.
-
tracrpc/ticket.py
29 29 yield ('TICKET_VIEW', ((list, int),), self.getAvailableActions) 30 30 yield ('TICKET_VIEW', ((list, int),), self.get) 31 31 yield ('TICKET_CREATE', ((int, str, str), (int, str, str, dict), (int, str, str, dict, bool)), self.create) 32 yield ('TICKET_ ADMIN', ((list, int, str), (list, int,str, dict), (list, int, str, dict, bool)), self.update)32 yield ('TICKET_MODIFY', ((list, int, str), (list, int,str, dict), (list, int, str, dict, bool)), self.update) 33 33 yield ('TICKET_ADMIN', ((None, int),), self.delete) 34 34 yield ('TICKET_VIEW', ((dict, int), (dict, int, int)), self.changeLog) 35 35 yield ('TICKET_VIEW', ((list, int),), self.listAttachments)
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Closing as duplicate of #3642.
Note: See
TracTickets for help on using
tickets.
would be nice for me too