lockdown 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
data/History.txt
CHANGED
data/lib/lockdown/version.rb
CHANGED
@@ -109,7 +109,7 @@ class UsersController < ApplicationController
|
|
109
109
|
#
|
110
110
|
@user.user_groups.dup.each do |g|
|
111
111
|
#Don't remove the automatically assigned user groups
|
112
|
-
next if
|
112
|
+
next if Lockdown::System.has_user_group?(g)
|
113
113
|
@user.user_groups.delete(g) unless new_ug_ids.include?(g.id)
|
114
114
|
end
|
115
115
|
#
|