

def get_permissions(self, identity, userid):
    return [p.permission_name for p in identity['user'].permissions]

dataset/ETHPy150Open amol-/depot/examples/turbogears/depotexample/config/app_cfg.py ApplicationAuthMetadata.get_permissions/original