Modify

Opened 11 years ago

Last modified 5 years 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: Andreas Trac Release:

Description

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 (8)

comment:1 Changed 11 years ago by endquote

FlexibleAssignToPlugin may provide some help here.

comment:2 Changed 11 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 11 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 10 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 10 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 years ago by falkb

Owner: Cinc-th deleted
Status: acceptedassigned

no activity anymore

comment:7 Changed 7 years ago by Ryan J Ollos

Status: assignednew

comment:8 Changed 5 years ago by Andreas

Cc: Andreas added

This feature would be great if it were implemented! It would also be great if the Cc field only showed those with access to the selected project.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.