app/controllers/ops_controller/ops_rbac.rb
# Get variables from user edit form
Get variables from user edit form
Get variables from user edit form
def rbac_user_get_form_vars
    @edit[:new][:name] = params[:name] if params[:name]
    @edit[:new][:userid] = params[:userid].strip if params[:userid]
    @edit[:new][:email] = params[:email].strip if params[:email]
    @edit[:new][:group] = params[:chosen_group] if params[:chosen_group]
    @edit[:new][:password] = params[:password] if params[:password]
    @edit[:new][:verify] = params[:verify] if params[:verify]
  end
def rbac_user_get_form_vars @edit [ :new ] [ :name ] = params [ :name ] if params [ :name ] @edit [ :new ] [ :userid ] = params [ :userid ] . strip if params [ :userid ] @edit [ :new ] [ :email ] = params [ :email ] . strip if params [ :email ] @edit [ :new ] [ :group ] = params [ :chosen_group ] if params [ :chosen_group ] @edit [ :new ] [ :password ] = params [ :password ] if params [ :password ] @edit [ :new ] [ :verify ] = params [ :verify ] if params [ :verify ] end
Get variables from user edit form
Get variables from user edit form