lib/ddr/auth/auth_context.rb in ddr-models-2.0.0.rc1 vs lib/ddr/auth/auth_context.rb in ddr-models-2.0.0.rc2

- old
+ new

@@ -58,10 +58,10 @@ # Is the auth context authorized to act as superuser? # This is separate from whether the context is authenticated in superuser scope. # @return [Boolean] def authorized_to_act_as_superuser? - member_of? Groups::SUPERUSERS + member_of? Ddr::Auth.superuser_group end # Return the combined user and group agents for this context. # @return [Array<String>] def agents