def get_groups_by_permission(session, permission):
    return session.query(
        Group.groupname,
        PermissionMap.argument,
        PermissionMap.granted_on,
    ).filter(
        Group.id == PermissionMap.group_id,
        PermissionMap.permission_id == permission.id,
        Group.enabled == True,
    ).all()
Finds the given executable in PATH.
dataset/ETHPy150Open dropbox/grouper/grouper/permissions.py/get_groups_by_permission--crossover with--dataset/ETHPy150Open chromium/web-page-replay/platformsettings.py/FindExecutable