Menu

Commit [r1791]  Maximize  Restore  History

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.

nbc 2008-09-08

changed /branches/nbc/app/models/role.rb
added /branches/nbc/db/migrate/20080827185639_add_repository_write_access.rb
changed /branches/nbc/extra/svn/Redmine.pm
changed /branches/nbc/lib/redmine.rb
changed /branches/nbc/lib/redmine/default_data/loader.rb
changed /branches/nbc/test/unit/role_test.rb
/branches/nbc/app/models/role.rb Diff Switch to side-by-side view
Loading...
/branches/nbc/db/migrate/20080827185639_add_repository_write_access.rb Diff Switch to side-by-side view
Loading...
/branches/nbc/extra/svn/Redmine.pm Diff Switch to side-by-side view
Loading...
/branches/nbc/lib/redmine.rb Diff Switch to side-by-side view
Loading...
/branches/nbc/lib/redmine/default_data/loader.rb Diff Switch to side-by-side view
Loading...
/branches/nbc/test/unit/role_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.