This plugin adds global roles to OpenProject. A user can have a global role allowing to perform actions outside of the scope of a specific project normally only allowed for administrators. By assigning the permission to create projects to a global role, non-administrators can create top-level projects.
To create a global role, go to the Administration view, select "Roles and permissions" and click on "New Role". Afterwards, select the checkbox "Global Role" and choose the permissions for this role. From the plugin, only "Create project" is available. However, there are other plugins adding more permissions to be assigned to global roles.
The created global roles can be assigned to individual users in the added "Global Roles" tab of the user settings.
The Global Roles plugin currently requires the OpenProject Core in version 3.0.0 or newer.
OpenProject Global Roles depends on OpenProject Plugins. Thus, if you haven't done it already, add the following line to the Gemfile.plugins
in your OpenProject installation:
gem "openproject-plugins", git: "https://github.com/opf/openproject-plugins.git", :branch => "stable"
For OpenProject Global Roles itself you need to add the following line to the Gemfile.plugins
of OpenProject:
gem "openproject-global_roles", git: "https://github.com/finnlabs/openproject-global_roles.git", :branch => "stable"
Afterwards, run:
bundle install
This plugin contains migrations. To migrate the database, run:
rake db:migrate
Currently, a complete automatic uninstall is not supported. Before the plugin can be removed, all global roles have to be deleted. Afterwards, remove the line
gem "openproject-global_roles", git: "https://github.com/finnlabs/openproject-global_roles.git", :branch => "stable"
from the file Gemfile.plugins
and run:
bundle install
Please not that this changes by the plugin in the database. Currently, we do not support full uninstall of the plugin.
If you find any bugs, you can create a bug ticket at
https://www.openproject.org/projects/plugin-global-roles
To contribute, you can create pull request on the official repository at
https://github.com/finnlabs/openproject-global_roles
Special thanks go to
- Deutsche Telekom AG ([email protected]) for project sponsorship
(c) 2010 - 2014 - Finn GmbH
This plugin is licensed under the GNU GPL v3. See doc/COPYRIGHT.rdoc and doc/GPL.txt for details.