Vote #77690
完了Disable "Select project modules" permission does not apply to the new project form
0%
説明
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