diff --git a/packages/syft/src/syft/service/user/user_service.py b/packages/syft/src/syft/service/user/user_service.py index c5aac94b853..47c41d1ab84 100644 --- a/packages/syft/src/syft/service/user/user_service.py +++ b/packages/syft/src/syft/service/user/user_service.py @@ -463,7 +463,7 @@ def update( # important to prevent root admins from shooting themselves in the foot if ( - user_update.role is not Empty + user_update.role is not Empty # type: ignore and user.verify_key == context.server.verify_key ): raise SyftException(public_message="Cannot update root role")