-
Copy redmine_auto_lock plugin to {RAILS_APP}/plugins on your redmine path
-
Run rake redmine:plugins NAME=redmine_auto_lock RAILS_ENV=production
-
Run rake redmine_auto_lock:lock_user RAILS_ENV=production
-
rake redmine:plugins NAME=redmine_auto_lock RAILS_ENV=production
-
rm -r plugins/redmine_auto_lock
-
Go to Administration > Users. Select a user > User’s general information window.
-
Select “auto lock on” date.
-
When Rake task executes, it checks for current time. if time get passed then user account gets automatically locked.
-
Redmine 2.2.4.stable and above