removed caching of global permissions to avoid global permission not being found

pull/6827/head
Jens Ulferts 14 years ago
parent 10ec846110
commit 4beb926b60
  1. 2
      lib/global_roles/access_control_patch.rb

@ -18,7 +18,7 @@ module GlobalRoles
end end
def global_permissions def global_permissions
@global_permissions ||= @permissions.select {|p| p.global?} @permissions.select {|p| p.global?}
end end
end end
end end

Loading…
Cancel
Save