Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Provides per-project roles and workflows
Ruby Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib/project_roles_plugin
test
.travis.yml
COPYRIGHT.txt
Gemfile
LICENSE.txt
README.md
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.