Skip to content
This repository

Provides per-project roles and workflows

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 COPYRIGHT.txt
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 init.rb
README.md

Project Roles plugin for ChiliProject Build Status

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.

Installation

  1. Follow the instructions at https://www.chiliproject.org/projects/chiliproject/wiki/Plugin_Install
  2. New tabs "Roles" and "Workflows" will appear in Project Settings
  3. Add "Manage project roles" permission to roles (preferably project maintainers)

Dependencies

Plugin depends on the MembersView gem. It will be picked by bundle install.

Compatibility

Plugin was tested with ChiliProject 3.3.0 and Ruby 1.9.3.

Testing

Patches, pull requests and forks are welcome, but if possible, provide proper test coverage.

You can also use Travis-CI integration based on the chiliproject_test_plugin.

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

License

This plugin is licensed under the GNU GPL v2. See COPYRIGHT.txt and LICENSE.txt for details.

Something went wrong with that request. Please try again.