MCPcopy Create free account
hub / github.com/dvdotsenko/git_http_backend.py / has_access

Method has_access

git_http_backend.py:365–372  ·  view source on GitHub ↗

User rights verification code. (This is NOT an authentication code. The authentication is handled by the server that hosts this WSGI app. We just go by the name of the already-authenticated user.

(self, **kw)

Source from the content-addressed store, hash-verified

363 repo_auto_create = True
364
365 def has_access(self, **kw):
366 '''
367 User rights verification code.
368 (This is NOT an authentication code. The authentication is handled by
369 the server that hosts this WSGI app. We just go by the name of the
370 already-authenticated user.
371 '''
372 return True
373
374 def get_command_output(self, cmd,
375 stdin = None,

Callers 1

basic_checksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected