- User can switch to admin permission
- User with admininistrator permission can drop admin permission
- Multilingual
No extra user with admin permissions is required. Common use case is, to create a user called "admin" for it and multiple other users use it.
Fast switch between admin permission and default user permission. You just activate it, re-enter your password (if required), work as administrator.
Automatically timeout of working time with admin permission. This can be configured with sudo_mode_timeout. After a specific time period of doing nothing you are automatically logged out as administrator and proceed doing your work with the regular permissions.
If a user has to have admin permisson, he has not this permission after login. He/she must switch to it (with top menu toggle) to get it. Redmine sudo-mode is used for time period and requesting password to switch to admin permission.
- Redmine version >= 5.0
- Redmine Plugin: additionals
- Ruby version >= 2.7
- Redmine sudo_mode has to be turned on in config/configuration.yml
Note: all existing admin users will be converted to sudoer (which means, they can switch to admin)
Note2: Make sure you created a backup of your database before install!
Install redmine_sudo
plugin for Redmine
cd $REDMINE_ROOT
git clone git://github.com/alphanodes/redmine_sudo.git plugins/redmine_sudo
git clone git://github.com/alphanodes/additionals.git plugins/additionals
bundle install --without development test
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
Restart Redmine (application server) and you should see the plugin show up in the Plugins page.
Note: all existing sudoer users will be converted to admin users.
Uninstall redmine_sudo
cd $REDMINE_ROOT
bundle exec rake redmine:plugins:migrate NAME=redmine_sudo VERSION=0 RAILS_ENV=production
rm -rf plugins/redmine_sudo
Restart Redmine (application server)
- @jbbarth for the idea of this plugin, but a different workflow. You can find his version here: https://github.com/jbbarth/redmine_sudo
- for api calls admin permissions are temorarily set for sudoer (not to database). This can be some negative side effect for some return values