Patch #10582

When creating poject assign members automatically to it

Added by Sajin Andrei over 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Sajin Andrei% Done:

0%

Category:Core Plugins
Target version:-

Description

In my company I had a request to found a plugin for redmine in order to solve a problem like this one : http://www.redmine.org/boards/2/topics/3824 (assign a few members (from a group) automatically to projects when they are created)
For this purpose I created a plugin in order add default members from a default group with default roles(specified in plugin settings)

hook_controller_projects_new_after_save-r9299.patch Magnifier - Patch add a hook for controller_projects_new_after_save (650 Bytes) Sajin Andrei, 2012-04-02 11:26

redmine_default_members_v1.2.zip - Plugin order to add default members to created project (13.2 KB) Sajin Andrei, 2012-04-02 11:26

History

#1 Updated by Terence Mill over 8 years ago

+1

#2 Updated by Terence Mill over 8 years ago

please add to plugin list

#3 Updated by Jean-Philippe Lang over 8 years ago

I think you don't need this hook in the controller since you do not use any parameters. You could just add a standard after_create callback on the Project model to automatically add some members.

#4 Updated by Hannes Meier over 8 years ago

+1
thought about doing this with the rest api but this would be great as a integrated feature

#5 Updated by Sajin Andrei over 8 years ago

  • Status changed from New to Resolved

#6 Updated by Sajin Andrei over 8 years ago

Done http://www.redmine.org/plugins/default_members
Terence Mill wrote:

please add to plugin list

#7 Updated by Jean-Baptiste Barth over 7 years ago

  • Status changed from Resolved to Closed

Closing this as the plugin seems to answer the problem. Fyi #5605 was mentionning a similar feature (inherit members in sub-projects) and has been integratedin Redmine 2.3.x.

Also available in: Atom PDF