'Returns a set of permission strings that the given ``user_obj`` has for ``obj``'

def get_all_permissions(self, user_obj, obj=None):

    (support, user_obj) = check_support(user_obj, obj)
    if (not support):
        return set()
    check = ObjectPermissionChecker(user_obj)
    return check.get_perms(obj)
