MCPcopy Create free account
hub / github.com/github/copilot-sdk / deny_all

Method deny_all

python/e2e/test_permissions_e2e.py:104–105  ·  view source on GitHub ↗
(request, invocation)

Source from the content-addressed store, hash-verified

102 """Test that tool operations are denied when handler explicitly denies"""
103
104 def deny_all(request, invocation):
105 return PermissionDecisionUserNotAvailable()
106
107 session = await ctx.client.create_session(on_permission_request=deny_all)
108

Callers

nothing calls this directly

Tested by

no test coverage detected