Options provided by Lockdown
These options are set in RAILS_ROOT/lib/lockdown/init.rb
- who_did_it
This method is used in setting the created_by/updated_by fields and should be accessible to the controller:
options[:who_did_it] = :current_user_id
- default_who_did_it
When current_user_id returns nil, this is the value to use:
options[:default_who_did_it] = 1
Lockdown 0.9.0 set this value to Profile::System
Should be something like User::SystemId
- session_timeout
defaults: one hour
- session_timeout_method
method to call when session times out. defaults:clear_session_values
- logout_on_access_violation
log the user out if they try to access a restricted resource. default: false
- access_denied_path
set redirect_to path on an unauthorized access attempt. default: ‘/’
- successful_login_path
set redirect_to after successful login. default: ‘/’
- links_separator
set separator used in links method. default: ‘|’
- subdirectory
will prepend subdirectory to paths. requested feature for some setups
