Netzke::Basepack::AuthApp

Extension to SimpleApp that brings in support for authentication and masquerading ** NOTE: it’s WIP **

Public Class Methods

new(*args) click to toggle source
     # File lib/netzke/basepack/auth_app.rb, line 112
112:       def initialize(*args)
113:         super
114: 
115:         if session[:netzke_just_logged_in] || session[:netzke_just_logged_out]
116:           session[:config_mode] = false
117:           session[:masq_world] = session[:masq_user] = session[:masq_roles] = nil
118:         end
119: 
120:         strong_children_config.deep_merge!(:mode => :config) if session[:config_mode]
121:       end

Public Instance Methods

user_menu() click to toggle source
     # File lib/netzke/basepack/auth_app.rb, line 108
108:       def user_menu
109:         [:logout.action]
110:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.