lib/shamu/security/principal.rb in shamu-0.0.8 vs lib/shamu/security/principal.rb in shamu-0.0.9
- old
+ new
@@ -65,8 +65,14 @@
# @return [Principal] the new principal.
def impersonate( user_id )
self.class.new( user_id: user_id, parent_principal: self, remote_ip: remote_ip, elevated: elevated )
end
+ # @return [Boolean] true if the principal was offered by one service to
+ # another and requesting that the downstream service delegate security
+ # checks to the calling service.
+ def service_delegate?
+ end
+
end
end
end
\ No newline at end of file