https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-08-10T14:15:57ZRedmineRedmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=313792011-08-10T14:15:57ZJérôme BATAILLE
<ul></ul><p>Our company needs this feature.<br />We are developing this feature and we will propose a patch very soon.<br />Hope this feature will please some users :-)</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=314182011-08-12T10:34:54ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/6434">feature_9029_public_project_creation_role_permission.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6434/feature_9029_public_project_creation_role_permission.diff">feature_9029_public_project_creation_role_permission.diff</a> added</li></ul><p>Here is the patch with FR and EN translations.<br />Not testing included.</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=314192011-08-12T10:35:19ZJérôme BATAILLE
<ul><li><strong>Assignee</strong> changed from <i>Jean-Philippe Lang</i> to <i>Jérôme BATAILLE</i></li></ul> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=314202011-08-12T10:35:38ZJérôme BATAILLE
<ul><li><strong>Assignee</strong> changed from <i>Jérôme BATAILLE</i> to <i>Jean-Philippe Lang</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>70</i></li></ul> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=315162011-08-16T10:13:39ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/6441">feature_9029_public_project_creation_role_permission_V1.1.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6441/feature_9029_public_project_creation_role_permission_V1.1.diff">feature_9029_public_project_creation_role_permission_V1.1.diff</a> added</li></ul><p>A fix has been added about the permission determination.</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=315182011-08-16T13:02:13ZJérôme BATAILLE
<ul><li><strong>File</strong> <a href="/attachments/6442">feature_9029_public_project_creation_role_permission_V1_.2.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6442/feature_9029_public_project_creation_role_permission_V1_.2.diff">feature_9029_public_project_creation_role_permission_V1_.2.diff</a> added</li></ul><p>Fixed a typo in the diff</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=315192011-08-16T13:03:24ZJérôme BATAILLE
<ul></ul><p>The patch works with Redmine V1.2.1</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=377742012-04-29T08:30:07ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Disable public project creation on a rôle basis</i> to <i>Disable public project creation on a role basis</i></li></ul><p>This patch only hides the checkbox but does not check for permission when submitting the form.</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=775222017-03-27T02:55:00ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/6913">Feature #6913</a>: An option to prevent making projects public</i> added</li></ul> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=1009222021-02-13T07:19:53ZKevin Fischer
<ul><li><strong>File</strong> <a href="/attachments/26653">public-project-permission-9029.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/26653/public-project-permission-9029.patch">public-project-permission-9029.patch</a> added</li></ul><p>Mizuki Ishikawa, Mitsuyoshi Kawabata and me made another patch to solve this issue.</p>
<p>We added a new permission called "Publish Project" which allows (un)publishing a project.<br />When you don't have that permission we just show the current state of the project as a label.</p>
<p>We could not find a proper CSS class for just displaying a label inside the setting tab, so we just wrote the style directly in the style attribute for now. If anyone has a better suggestion please tell us.</p>
<p>We added unit tests and a migration which will give the "Publish Project" permission to all Roles that had the "Add Project" or "Edit Project" permission until now to preserve the permissions of existing users.</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=1010402021-02-22T02:12:53ZMizuki ISHIKAWA
<ul></ul><p>When allowing users to manage projects, system administrators need to worry about projects that should be private are not public.<br />Unintended disclosure of information can lead to major information leaks.</p>
<p>By adding this permission, only some trusted users can publish the project.<br />It will reassure many system administrators.</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=1018722021-04-07T02:32:02ZGo MAEDA
<ul></ul><p>I am not a big fan of adding new permission in the project setting.</p>
<p>I personally do not think there is much necessity of this feature for the following reasons:</p>
<ul>
<li>As long as admin enables "Login required", the project will never become world-accessible</li>
<li>It complicates permission management. Two permissions "Edit project" and "Publish project" are required to change the project's "public" setting</li>
</ul> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=1018762021-04-07T02:52:31ZMizuki ISHIKAWA
<ul></ul><p>Go MAEDA wrote:</p>
<blockquote>
<p>I am not a big fan of adding new permission in the project setting.</p>
<p>I personally do not think there is much necessity of this feature for the following reasons:</p>
<ul>
<li>As long as admin enables "Login required", the project will never become world-accessible</li>
</ul>
</blockquote>
<p>I think there may be projects that have information that should not be shown to unauthorized users even if they are logged in (in some cases, employees of other companies are invited to Redmine).<br />I think we need a feature that restricts the project from being published by general users.</p>
<blockquote>
<ul>
<li>It complicates permission management. Two permissions "Edit project" and "Publish project" are required to change the project's "public" setting</li>
</ul>
</blockquote>
<p>How about adding a setting that "allows general users to publish the project" instead of permissions?<br />If this setting is turned off, only the administrator can publish the project.</p> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=1087702022-12-15T05:25:59ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/38048">Feature #38048</a>: Introduce permission to set a project public</i> added</li></ul> Redmine - Feature #9029: Disable public project creation on a role basishttps://www.redmine.org/issues/9029?journal_id=1090712023-01-12T09:47:23ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> deleted (<del><i>Jean-Philippe Lang</i></del>)</li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>The same feature was implemented by <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Introduce permission to set a project public (Closed)" href="https://www.redmine.org/issues/38048">#38048</a>.</p>