예제 #1
0
def getGroups(user):
    return auth_service.getGroups(user)
예제 #2
0
 def ext_groups(self):
     if not hasattr(self, "_cached_groups"):
         self._cached_groups = auth_service.getGroups(self.user)
     return self._cached_groups