From 888fb02c6b37466fbfa505713edb7b2777b3cc7c Mon Sep 17 00:00:00 2001 From: lberrymage Date: Wed, 30 Sep 2026 22:09:53 +0000 Subject: [PATCH] Remove email from User message --- accrescent/console/v1/user.proto | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/accrescent/console/v1/user.proto b/accrescent/console/v1/user.proto index eecc3e7..ebb558a 100644 --- a/accrescent/console/v1/user.proto +++ b/accrescent/console/v1/user.proto @@ -17,14 +17,8 @@ message User { // The user's unique ID. optional string id = 1 [(buf.validate.field).required = true]; - // The user's email. - optional string email = 2 [ - (buf.validate.field).required = true, - (buf.validate.field).string.email = true - ]; - // The user's roles. - repeated UserRole roles = 3 [ + repeated UserRole roles = 2 [ (buf.validate.field).repeated.items.enum.not_in = 0, (buf.validate.field).repeated.unique = true ];