MCPcopy Create free account
hub / github.com/bugy/script-server / AnyUserAuthorizer

Class AnyUserAuthorizer

src/tests/test_utils.py:609–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607
608
609class AnyUserAuthorizer:
610 def is_allowed_in_app(self, user_id):
611 return True
612
613 def is_allowed(self, user_id, allowed_users):
614 return True
615
616 def is_admin(self, user_id):
617 return True
618
619
620class _IdGeneratorMock:

Callers 4

setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90

Calls

no outgoing calls

Tested by 4

setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72