OSDN Git Service

Ability to allow non-admin users to create projects (#1007).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 17 May 2009 12:59:14 +0000 (12:59 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 17 May 2009 12:59:14 +0000 (12:59 +0000)
commit8141110eb2698df14694e009e8312eb9df0ce738
tree457e4041bc614ae1ea1e57da16a7ce4fc3363185
parent9c9dc6e8147a3e0bf3239511c094dc5f9d2a59a0
Ability to allow non-admin users to create projects (#1007).

This can be enabled in permissions settings. A non-admin user who creates a project is automatically added as a project member (the first role is given, TODO: make this given role configurable).
Projects can be added from the public projects list.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2750 e93f8b46-1217-0410-a6f0-8f06a7374b81
42 files changed:
app/controllers/application.rb
app/controllers/projects_controller.rb
app/models/user.rb
app/views/projects/index.rhtml
config/locales/bg.yml
config/locales/bs.yml
config/locales/ca.yml
config/locales/cs.yml
config/locales/da.yml
config/locales/de.yml
config/locales/en.yml
config/locales/es.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hu.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/lt.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ro.yml
config/locales/ru.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/vi.yml
config/locales/zh-TW.yml
config/locales/zh.yml
lib/redmine.rb
test/fixtures/roles.yml
test/functional/projects_controller_test.rb
test/integration/admin_test.rb