允许非管理员用户创建项目

发布于 2024-11-13 08:46:37 字数 98 浏览 3 评论 0原文

我希望允许非管理员用户创建自己的项目,我找到了为创建项目的非管理员设置默认角色的选项,但我找不到如何让他们实际创建项目,我是否必须在某个地方为他们设置角色?或者我必须安装一个插件吗?

I'm looking to allow non-admin users to create their own projects, i've found the option to set the default role for a non-admin who has created a project, but I cant find how to let them actually create the project, do I have to set a role for them somewhere? or is there a plugin I have to install?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

以歌曲疗慰 2024-11-20 08:46:37

它就在那里,但不是很直观。为了在 Redmine 中拥有权限,用户必须首先是项目的成员。

  1. 授予角色“添加项目”权限
  2. 将用户作为成员添加到具有该角色的项目中
  3. 然后用户应该能够在跨项目列表 (/projects) 上看到“添加项目”链接

It's there but not very intuitive. In order to have permissions in Redmine a user must be a member of a project first.

  1. Give a Role the "Add Project" permission
  2. Add the user as a Member to a project with that Role
  3. Then the user should be able to see the "Add Project" link on the cross project list (/projects)
失而复得 2024-11-20 08:46:37

截至 2015 年和Redmine 3.0,这个问题的答案相当简单和直观。

前往:
管理>角色和权限>>非会员

选中“创建项目”复选框并保存。

我意识到这个问题很老了,但我从谷歌偶然发现了它,所以它可能会帮助任何怀疑它是那么容易的人。

As of 2015 and Redmine 3.0 the answer to the question is rather simple and intuitive.

Go to:
Administration > Roles and permissions > Non member

Check the "Create project" checkbox and save.

I realize the question is old, but I stumbled upon it from google, so it might help anyone in doubt it is that easy.

背叛残局 2024-11-20 08:46:37

我在寻找其他问题的答案时遇到了这个。

为了帮助这里的文档,我将重复 RedMine wiki 页面 上的内容

:未知用户通过电子邮件创建问题

Redmine 有一项功能,可以接受来自未知用户的传入电子邮件。为了使用此功能,必须包含一个额外的参数:

unknown_user=ACTION     how to handle emails from an unknown user where ACTION can be one of the following values:
                    ignore: the email is ignored (default)
                    accept: the sender is considered as an anonymous user and the email is accepted
                    create: a user account is created for the sender (username/password are sent back to the user) and the email is accepted

权限必须与所选选项一致。例如,如果您选择“创建”,“非成员”角色必须具有“添加问题”权限,以便未知用户可以通过电子邮件创建问题。如果您选择“接受”,则“匿名”角色必须具有此权限。

如果您通过 rake 任务接收电子邮件,则未知用户选项必须编写为:

unknown_user=[ignore|accept|create]

您可以使用“no_permission_check”选项禁用权限检查:

no_permission_check=1   disable permission checking when receiving the email

这与“未知用户”一起提供了让任何人提交的能力向私人项目发送电子邮件。例如:

rdm-mailhandler --unknown-user accept --no-permission-check --project=foo

将允许任何人向私人项目“foo”提交电子邮件。

TODO:这是真的吗?这与 no_permission_check 选项有关吗?:

自Redmine 0.9起,该项目不必公开,但需要在管理中进行身份验证->设置 -> 身份验证选项卡必须取消选中。

如果您不希望 rdm-mailhandler 向每个新创建的用户发送“新帐户通知电子邮件”,则必须添加选项“--no-account-notice”。在问题 #11498 中与 2.3.0 一起实现。现在是一个例子:

rdm-mailhandler --unknown-user accept --no-permission-check --project=foo --no-account-notice

参考

I came across this looking for an answer to something else.

To help the documentation here, I will repeat what is on the RedMine wiki page:

Enabling unknown users to create issues by email

Redmine has a feature that provides the ability to accept incoming emails from unknown users. In order to use this feature, an extra parameter has to be included:

unknown_user=ACTION     how to handle emails from an unknown user where ACTION can be one of the following values:
                    ignore: the email is ignored (default)
                    accept: the sender is considered as an anonymous user and the email is accepted
                    create: a user account is created for the sender (username/password are sent back to the user) and the email is accepted

Permissions have to be consistent with the chosen option. E.g. if you choose 'create', the 'Non member' role must have the 'Add issues' permission so that an issue can be created by an unknown user via email. If you choose 'accept', the 'Anonymous' role must have this permission.

If you receive emails via the rake task, the unknown-user option has to be written as:

unknown_user=[ignore|accept|create]

You can disable permission checking using the 'no_permission_check' option:

no_permission_check=1   disable permission checking when receiving the email

This, together with the 'unknown-user', provides the ability to let anyone submit emails to a private project. For example:

rdm-mailhandler --unknown-user accept --no-permission-check --project=foo

will let anyone submit emails to a private project 'foo'.

TODO: Is this true and is this related to the no_permission_check option?:

Since Redmine 0.9 the project doesn't have to be public, but authentication required in the Administration-> Settings->Authentication tab has to be unchecked.

If you do not want an "new account notification email" sent to every newly created user by rdm-mailhandler you must add the option "--no-account-notice". Is implemneted with 2.3.0 in issue #11498. Now an example:

rdm-mailhandler --unknown-user accept --no-permission-check --project=foo --no-account-notice

REFERENCE

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文