Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Redmine plugin for per-project role replacements.
Ruby HTML
Tag: 0.0.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib/redmine_role_replacements
test
README.md
init.rb

README.md

Redmine role replacement plugin

Redmine plugin for per-project role replacement.

Installation

Follow the plugin installation procedure at http://www.redmine.org/wiki/redmine/Plugins.

Usage

The Role Shift plugin adds new project permission "Manage role replacements". This pemission should be enabled for roles which you want to control role shifts. By default only admins can manage project role shifts.

You also need to enable the "Role Replacements" module for projects you want to configure. If you have "Manage role replacements" permission you will see new "Role replacements" tab in project.

Under this tab you can add, edit and remove role replacements for the project.

For creating a role replacement you need to have a role permissions of which will be used to replace permissions of basic role. It is a good idea to create a special role for this.

For private projects, prohibits replacement of Anonymous and NonMember roles. For example, you can replace roles of Reporter or Developer, but you can not replace the role of NonMember to Developer.

Public projects allow any kind of replacements.

Result of role replacements:

Role after
Anonymous NonMember Member
Role before Private project Anonymous N/A N/A N/A
NonMember N/A N/A N/A
Member N/A N/A LJV
Public project Anonymous N/A LV LV
NonMember LV N/A LV
Member LJV LJV LJV
  • N/A - replacement is not valid and don't be applied
  • L - project visible in projects list
  • J - project visible in jump box
  • V - access to project according role_after permissions

Testing

rake test:plugins:all RAILS_ENV=test PLUGIN=redmine_role_replacements

Something went wrong with that request. Please try again.