Skip to content

slawa85/openproject-global_roles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenProject Global Roles Plugin

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.

Requirements

The Global Roles plugin currently requires the OpenProject Core in version 3.0.0 or newer.

Installation

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

Deinstallation

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.

Bug Reporting

If you find any bugs, you can create a bug ticket at

https://www.openproject.org/projects/plugin-global-roles

Development

To contribute, you can create pull request on the official repository at

https://github.com/finnlabs/openproject-global_roles

Credits

Special thanks go to

License

(c) 2010 - 2014 - Finn GmbH

This plugin is licensed under the GNU GPL v3. See doc/COPYRIGHT.rdoc and doc/GPL.txt for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published