Redmine:新创建的子项目可以继承父项目的成员吗?
我不确定这是否是正确的 StackExchange 站点,如果不是,我深表歉意。
是否可以在Redmine中创建子项目并让它自动继承父项目的成员权限?如果我在父项目上将用户 A 作为经理,将用户 B 作为开发人员,我希望它能够在新的子项目上自动进行设置。
我到处搜索,但找不到一种方法 - 内部或插件 - 来做到这一点。
谢谢!
I'm not sure if this is the correct StackExchange site for this, so I apologize if it's not.
Is it possible to create subprojects in Redmine and have it automatically inherit the member permissions from the parent project? If I've got User A as Manager and User B as Developer on the parent, I'd like it to automagically set that up on the new subproject.
I've searched high and low and can't find a way - internal or plugin - to do this.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这实际上非常简单:您所要做的就是进入管理面板,显示项目列表,找到父项目并使用复制< /strong> 按钮创建子项目。在下一页上,您可以配置您的项目,预先填充父项目的值,并有更多选项,例如复制成员。
当然,这仅适用于创建 - 一旦您创建了子项目并更改了一个项目,您还需要更改另一个项目。幸运的是,与组一起工作使其变得非常容易(为组而不是用户配置访问权限)。
That's actually very simple: All you have to do is to go into the administration panel, display the list of projects, find the parent project and use the copy button to create the sub-project. On the next page you can configure your project, pre-filled with the values of your parent project, and have some more options like copying members.
Of course this works only on creation - once you created the sub-project and you change one project, you'll need to change the other one as well. Fortunately, working with groups makes it very easy (configure access for groups, not users).
从 Redmine 2.3.0 开始,这是可能的(请参阅问题 #5605 进行讨论)。创建(或更新)项目时,您只需选中继承成员复选框即可。
(当这个问题最初被提出并回答时,此选项在 Redmine 中不可用,所以如果您考虑更改此问题的已接受答案,我会很高兴,谢谢!)< /em>
This is possible now since Redmine 2.3.0 (see issue #5605 for discussion). When creating (or updating) a project, you can simply check the Inherit members checkbox.
(This option wasn't available in Redmine when this question was asked and answered initially, so I'd be happy if you considered changing the accepted answer to this one, thanks!)
那是不可能的。 Redmine 权限系统最基本的事实之一是,用户是具有一个或多个角色的杰出项目的成员。权限不能继承。事实上,问题树的可能性是很晚才添加的,并且尚未反映在权限系统中。
也就是说,即使可以做到,也只能添加权限,因为您不能使用角色取消权限(始终添加多个角色的权限)。因此,您最终只能在子项目中添加更多权限,但不能减少权限。
That's not possible. One of the most fundamental facts of the Redmine permission system is that users are members of distinguished projects having one or more roles. The permissions can't be inherited. In fact, the possibility to have an issue tree was added rather late and hasn't yet been reflected in the permission system.
That said, even if it could be done, permissions could only be added, as you can't take away permissions using roles (permissions from multiple roles are always added). So you would end up with only the possibility to add more permissions in subprojects, but not with less.