deleted are always false until superadming is coded

This commit is contained in:
Priec
2026-07-20 16:52:09 +02:00
parent 1c6183cf09
commit c70360532c
4 changed files with 6 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ message CreateJournalRequest {
message GetJournalRequest { message GetJournalRequest {
string profile_name = 1; string profile_name = 1;
int64 journal_id = 2; int64 journal_id = 2;
// False by default. True is reserved for a future Casbin permission granted
// only to superadmin and is rejected until that permission is implemented.
bool include_deleted = 3; bool include_deleted = 3;
} }

Binary file not shown.

View File

@@ -14,6 +14,8 @@ pub struct GetJournalRequest {
pub profile_name: ::prost::alloc::string::String, pub profile_name: ::prost::alloc::string::String,
#[prost(int64, tag = "2")] #[prost(int64, tag = "2")]
pub journal_id: i64, pub journal_id: i64,
/// False by default. True is reserved for a future Casbin permission granted
/// only to superadmin and is rejected until that permission is implemented.
#[prost(bool, tag = "3")] #[prost(bool, tag = "3")]
pub include_deleted: bool, pub include_deleted: bool,
} }

2
server

Submodule server updated: 058f7228ad...cf30823119