MCPcopy
hub / github.com/bugy/script-server / get_groups

Method get_groups

src/auth/authorization.py:73–74  ·  view source on GitHub ↗
(self, user, known_groups=None)

Source from the content-addressed store, hash-verified

71class EmptyGroupProvider:
72
73 def get_groups(self, user, known_groups=None):
74 return []
75
76
77def _flatten_groups(groups):

Callers 2

_is_allowed_internalMethod · 0.45
get_groupsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected