¶ ↑
Approval PluginThis Plugin allows users to approve of specific revisions.
¶ ↑
Features-
shows approved status of revisions in the repository
-
can be configured to follow two-men-rule
-
highlighting of unapproved revisions
-
sets SVN revision property if changeset gets approved in SVN-repositories
¶ ↑
Installation-
Copy the folder into your plugins folder in the Redmine installation. (make sure the plugin is installed to
plugins/approval_plugin
) -
Perform the migration with
$ rake redmine:plugins:migrate
-
Restart your Redmine web servers.
-
Login and configure the plugin (Administration > Plugins > Configure)
-
Activate the “approval plugin” module for the specific projects (Settings > Modules). Or for all projects in the plugin configurations.
-
If you are using SVN repositories: In order to make this plugin work you have to add/edit the following file:
PATH TO REPOSITORY/hooks/pre-revprop-change
Simply add the line
if [ "$ACTION" = "A" -a "$PROPNAME" = "approved" ]; then exit 0; fi
¶ ↑
Uninstalling-
Rerverse the migration
$ rake redmine:plugins:migrate NAME=approval_plugin VERSION=0
-
delete the
approval_plugin
folder -
change the
pre-revprop-change
file
Please note that approval information for SVN-repositories is also stored within svn revisin properties, so this information is still there once the plugin is uninstalled!
¶ ↑
Configuration¶ ↑
PermissionsTo approve revisions users have to have permission. In Administration > ‘Roles and permissions’ set the permission to approve for each role. (administrators always have permission)
¶ ↑
Plugin configuration-
Allow approval of own revisions. This allows the author of this revision to approve it himself.
-
Approve only if preceding revisions are already approved. If checked user can only approve revisions if previous revisions are approved.
The number indicates how big the gap to the last approved revision can be. e.g.: max gap = 5 means that revision 25 can be approved if revision 19 or higher is already approved.
-
Highlighting unapproved revisions. Defines the color in which the message “unapproved revision” will be highlighted in.
-
Activate Approval Plugin module for all projects. By clicking this link the Plugin module will be activated for all projects with svn repositories.