LDAP connection and modified Devise

This commit is contained in:
Matt Fu committed 2012-02-22 14:43:24 +08:00
1 parent 9cd3cbc478
commit 678f1eabef
22 files changed
+245 -17

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ class User
field :admin, :type => Boolean, :default => true
field :active_role
field :nccu_ldap_uid
has_many :attribute_values, :autosave => true, :dependent => :destroy
has_many :app_auths,as: :privilege_apps,:inverse_of => :privilege_lists