]> source.dussan.org Git - redmine.git/commit
Add write control on repository from Redmine interface
authorNicolas Chuche <nicolas.chuche@barna.be>
Mon, 8 Sep 2008 13:01:40 +0000 (13:01 +0000)
committerNicolas Chuche <nicolas.chuche@barna.be>
Mon, 8 Sep 2008 13:01:40 +0000 (13:01 +0000)
commitf5f51f4f832d4e259db9e49b78ccfe673b5c5b1a
treeb03457c4cbf1e5af5112944d72d895ce889e798f
parent473869db6bfd4f01611c7fb612bcfc54d92bf930
Add write control on repository from Redmine interface
  * new methods to add/remove rights in app/models/role.rb
  * some unit tests
  * add write check in Redmine.pm

To keep compatibility migration add write rights to non builtin roles
but default clean install give write access only to manager and
developer, not to reporter.

git-svn-id: http://redmine.rubyforge.org/svn/branches/nbc@1791 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/role.rb
db/migrate/20080827185639_add_repository_write_access.rb [new file with mode: 0644]
extra/svn/Redmine.pm
lib/redmine.rb
lib/redmine/default_data/loader.rb
test/unit/role_test.rb