From 82b408ca4ba2c673d58b32a99e0705b3d0ad87c1 Mon Sep 17 00:00:00 2001 From: Gerald Baulig Date: Thu, 21 Dec 2023 21:51:31 +0100 Subject: [PATCH] feat(user.proto): add properties to UserRole --- packages/protos/io/restorecommerce/user.proto | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/protos/io/restorecommerce/user.proto b/packages/protos/io/restorecommerce/user.proto index 930989b2..bff00525 100644 --- a/packages/protos/io/restorecommerce/user.proto +++ b/packages/protos/io/restorecommerce/user.proto @@ -344,16 +344,16 @@ message UserRole { } ]; // locale specifications optional string default_scope = 15; // default hierarchical scope - optional bool unauthenticated = 16; // true in case in case of `register`; set to false after activation - optional bool guest = 17; // Is the user a guest. A guest is a automatically generated user which can later be turned in a non-guest user. - optional io.restorecommerce.image.Image image = 18; - optional UserType user_type = 19; - optional bool invite = 20; // For user invitation - optional string invited_by_user_name = 21; // user who is inviting - optional string invited_by_user_first_name = 22; // First name of user inviting - optional string invited_by_user_last_name = 23; // Last name of user inviting - repeated io.restorecommerce.auth.Tokens tokens = 24; - optional google.protobuf.Timestamp last_access = 25; + optional bool guest = 16; // Is the user a guest. A guest is a automatically generated user which can later be turned in a non-guest user. + optional io.restorecommerce.image.Image image = 17; + optional UserType user_type = 18; + optional bool invite = 19; // true if user has been invited by another user + optional string invited_by_user_name = 20; // User who is inviting + optional string invited_by_user_first_name = 21; // First name of user inviting + optional string invited_by_user_last_name = 22; // Last name of user inviting + repeated io.restorecommerce.auth.Tokens tokens = 23; + optional google.protobuf.Timestamp last_access = 24; // When the user has last been used + repeated io.restorecommerce.attribute.Attribute properties = 25; // additional properties optional google.protobuf.Any data = 26; // additional data repeated io.restorecommerce.role.Role roles = 27; }