Adding a button to add multiple projects to user
Under the administration panel, I am currently trying to add a button that will allow me to assign all available projects to a user. It would be quite a tedious process to go through and individually assigning each project.
I have been able to add the button to the menu by editing trunk/app/views/users/_memberships.rhtml, but I cannot figure out how to edit the actual code in order to have it do what I need it to do. I have been using the edit_membership method in the users_controller.rb as a reference point, by my main issue comes from not knowing how to cycle through each available project to assign. The edit_membership function depends upon the input from the projects and roles drop-down menu, but since I won't have a project drop-down menu for my button, I am not sure how to access that data.
I'd certainly appreciate any help with this.
Anybody? I really need to get this done, but I still have yet to figure out the syntax for this.
It will be nice to have "This Project & all sub projects under this" option.
So that we can select a top level project(since we have "unlimited project nesting" working with trunk) and assign a role to that user for all its sub projects.
What do you guys think?
This would be really great.
Even nicer would be to have permission templates, which can have different roles to different projects and can be assigned to users. The OTRS Trouble Ticket System does this very nicely and makes permission management very comfortable. If I knew any Ruby I would even give it a try myself.
Last call.....I was really hoping to have some advice on this by tomorrow. I need to have it done by noon.
I see there is no interest in this feature. That's a pity. I have dozens of projects and need to add user (and eventually even more users) to all of them. Groups are not the answer (although they help). Changing project dropdown box to list (with multiple selection) would be enough.
Maybe i could acheive this by manipulating database?
This is a sorely needed feature. I am very surprised that few people are asking for it; does it mean that most Redmine installations are only dealing with a few projects...?
It is absolutely useful! Most users only watch this forum without being registered and thus cannot take part in the discussion.
Hope that someone will write such a plugin!
We have about 40 current projects. We are evolving our production process and I have just created two new groups of people with specific sets of permissions. I have to add each of them explicitly to each project. It would be so useful for me to be able to go the other way and simply list the 40 projects (or whatever smaller subset I choose) to each group.
RE: Adding a button to add multiple projects to user - Added by Pavel Potcheptsov almost 5 years ago
This is must have feature in
Administration - Users - Some_User - Projects Tab - Add button "Add to all/active projects"