Provides per-project roles and workflows. Both local and global roles can be assigned to anonymous and non-member users. This function is heavily inspired by Role Shift plugin.
Project roles are available to subprojects, but cannot be edited from there.
- Follow the instructions at https://www.chiliproject.org/projects/chiliproject/wiki/Plugin_Install
- New tabs "Roles" and "Workflows" will appear in Project Settings
- Add "Manage project roles" permission to roles (preferably project maintainers)
Plugin depends on the MembersView gem. It will be picked by
Plugin was tested with ChiliProject 3.3.0 and Ruby 1.9.3.
Patches, pull requests and forks are welcome, but if possible, provide proper test coverage.
For running tests, see also Redmine's instructions.
Setup and migrate your test database:
bundle exec rake db:drop db:create db:migrate redmine:load_default_data db:migrate:plugins RAILS_ENV=test
To run tests, execute the following task from main ChiliProject's directory:
bundle exec rake test:engines:all PLUGIN=chiliproject_project_roles
You can also execute individual test files, however you need to run this rake task before execution:
bundle exec rake test:plugins:setup_plugin_fixtures
This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and LICENSE.txt for details.