プロジェクト

全般

プロフィール

Vote #77690

完了

Disable "Select project modules" permission does not apply to the new project form

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Project settings_43
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
43
version_id:
119
issue_org_id:
23470
author_id:
155855
assigned_to_id:
1
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
110
ステータス-->[Closed]

説明

Hi,
i have disabled "Select project modules" for a role! this is the default role assigned to the user when creating new projects
from now on he cannot select modules on 'project settings' form (correct behaviour)

unfortunatelly he can still select modules on the 'new project' form!

My environment:
Platform Ubuntu Server 14.04.4 LTS

Environment:
  Redmine version                3.3.0.stable
  Ruby version                   2.3.0-p0 (2015-12-25) [x86_64-linux]
  Rails version                  4.2.6
  Environment                    production
  Database adapter               Mysql2
SCM:
  Filesystem                     
Redmine plugins:
  redmine_checklists             3.1.3
  redmine_contacts               4.0.4
  redmine_custom_help_url        0.0.2
  redmine_dmsf                   1.5.6
  redmine_favorite_projects      2.0.2
  redmine_ics_export             3.0.1.dev
  redmine_language_change        0.1.0
  redmine_monitoring_controlling 0.1.1
  redmine_people                 1.2.0
  redmine_stats                  0.0.3
  redmine_xlsx_format_issue_exporter 0.1.2
  sidebar_hide                   0.0.7


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r15752.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hi,
sorry but after upgrade files taken from "r15752":http://www.redmine.org/projects/redmine/repository/revisions/15752 i can still select modules on "new project form"

steps to reproduce:

# Administrator -> Settings -> Projects -> Role given to a non-admin user who creates a project -> "test1"
# Administrator -> Settings -> Roles and permissions -> "test1" -> Project -> Select project modules -> UNCHECK
# login as a "non admin" user
# Projects -> New project

in this form Modules section still show up with the ability to select / deselect modules

same environment

Kind regards,
--------------------------------------------------------------------------------
after some other tests i found that the problem is only in the view that still show up the "Modules fieldset"
check / uncheck modules as no effect on the new project created

--------------------------------------------------------------------------------
Sorry, I'm not able to reproduce and there's a test for this exact use case that was added with the fix.
Make sure that you have properly applied the fix.
--------------------------------------------------------------------------------


related_issues

relates,Closed,1007,Create project for no administrator user

Admin Redmine さんが約4年前に更新

  • カテゴリProject settings_43 にセット
  • 対象バージョン3.4.0_119 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0