Menu

Commit [r7641]  Maximize  Restore  History

Move `[ticket] restrict_owner` logic outside of the `TicketSystem.get_ticket_fields()`.

- this enables taking into account fine-grained permissions, for restricting the choice of possible owners even further if needed
- this makes it possible to have complete control over when the `get_ticket_fields` value will change, so we can cache it (related to #6436)

cboos 2008-10-31

changed /branches/0.11-stable/trac/ticket/api.py
changed /branches/0.11-stable/trac/ticket/query.py
changed /branches/0.11-stable/trac/ticket/web_ui.py
/branches/0.11-stable/trac/ticket/api.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/ticket/query.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/ticket/web_ui.py Diff Switch to side-by-side view
Loading...