Opened 4 years ago

Last modified 3 months ago

#11563 new enhancement

Restrict owner to users with access to the project

Reported by: endquote Owned by:
Priority: normal Component: SimpleMultiProjectPlugin
Severity: normal Keywords:
Cc: Trac Release:


Now you can restrict who can view a tickets in a project, but if restrict_owner is true, the owner box shows all users in the system. It would be nice if it only showed those with access to the selected project.

Attachments (0)

Change History (7)

comment:1 Changed 4 years ago by endquote

FlexibleAssignToPlugin may provide some help here.

comment:2 Changed 4 years ago by anonymous

AutocompleteUsersPlugin is even cooler, though of course also not restricted to projects. Maybe it's possible to hack that plugin a bit in a way it looks at the project field also.

comment:3 Changed 4 years ago by endquote

For now, I think turning off restrict_owner and installing AutocompleteUsersPlugin is an ok solution. At least then I don't have a list of all users showing anywhere, but it would be even better if it only showed users who have access to the ticket's current project.

comment:4 Changed 3 years ago by Cinc-th

Owner: changed from falkb to Cinc-th
Status: newaccepted

I looked briefly into FlexibleAssignToPlugin and the documentation states:

Note: the FlexibleAssignTo framework does not modify the fields on the "New Ticket" page

So I think it's only a partial solution.

What bothers me more is there was no update in years so relying on it makes me uneasy despite the impressive feature set (which may or may not come in handy for future SimpleMultiProjectPlugin features).

So I think I'll run for a homegrown solution here starting with implementing the ITicketManipulator interface. This one is necessary anyway imho to prevent creating tickets with forbidden owners.

comment:5 Changed 3 years ago by Cinc-th

Well, just noticed the available projects list is already filtered when creating a new ticket. So no need for the ITicketManipulator here...

comment:6 Changed 7 months ago by falkb

Owner: Cinc-th deleted
Status: acceptedassigned

no activity anymore

comment:7 Changed 3 months ago by Ryan J Ollos

Status: assignednew

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.