From 2e72e23ad5e08fcaab50b98e98bcd2047e5d57c6 Mon Sep 17 00:00:00 2001 From: St4NNi Date: Mon, 3 Jul 2023 09:34:33 +0200 Subject: [PATCH 1/2] feat: Added feature to add and update flags to projects --- aruna/api/storage/services/v1/project_service.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aruna/api/storage/services/v1/project_service.proto b/aruna/api/storage/services/v1/project_service.proto index d9845fbf..089eab6b 100644 --- a/aruna/api/storage/services/v1/project_service.proto +++ b/aruna/api/storage/services/v1/project_service.proto @@ -172,6 +172,8 @@ message CreateProjectRequest { string name = 1; // Description for the project string description = 2; + // Project binary flag(s) + int64 flag = 3; } message CreateProjectResponse { @@ -220,6 +222,8 @@ message UpdateProjectRequest { string name = 2; // Update description string description = 3; + // Project binary flag(s) + int64 flag = 4; } message UpdateProjectResponse { From 36ce0457ffa690022b19118b185fd60d9ba97e17 Mon Sep 17 00:00:00 2001 From: St4NNi Date: Mon, 3 Jul 2023 09:37:06 +0200 Subject: [PATCH 2/2] feat: Added flags to Project and ProjectOverview structs --- aruna/api/storage/models/v1/auth.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aruna/api/storage/models/v1/auth.proto b/aruna/api/storage/models/v1/auth.proto index 23e1c041..76cff229 100644 --- a/aruna/api/storage/models/v1/auth.proto +++ b/aruna/api/storage/models/v1/auth.proto @@ -14,6 +14,8 @@ message Project { repeated ProjectPermission user_permissions = 3; repeated string collection_ids = 4; string description = 5; + // Project binary flag(s) + int64 flags = 6; } message ProjectOverview { @@ -22,6 +24,8 @@ message ProjectOverview { string description = 3; repeated string collection_ids = 4; repeated string user_ids = 5; + // Project binary flag(s) + int64 flags = 6; } message User {