From b09c0eca7747e669ffb91aec421bcd3596438148 Mon Sep 17 00:00:00 2001 From: anant Date: Thu, 3 Apr 2025 16:55:47 +0530 Subject: [PATCH] LLM related actions --- src/rbac/role.rs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/rbac/role.rs b/src/rbac/role.rs index 00208631c..0e2eb101d 100644 --- a/src/rbac/role.rs +++ b/src/rbac/role.rs @@ -48,6 +48,10 @@ pub enum Action { ListRole, GetAbout, QueryLLM, + AddLLM, + DeleteLLM, + GetLLM, + ListLLM, ListCluster, ListClusterMetrics, Deleteingestor, @@ -115,6 +119,10 @@ impl RoleBuilder { | Action::DeleteUser | Action::GetAbout | Action::QueryLLM + | Action::AddLLM + | Action::DeleteLLM + | Action::GetLLM + | Action::ListLLM | Action::PutRole | Action::GetRole | Action::DeleteRole @@ -234,6 +242,8 @@ pub mod model { Action::GetAlert, Action::DeleteAlert, Action::QueryLLM, + Action::GetLLM, + Action::ListLLM, Action::CreateFilter, Action::ListFilter, Action::GetFilter, @@ -276,6 +286,8 @@ pub mod model { Action::DeleteDashboard, Action::Ingest, Action::QueryLLM, + Action::GetLLM, + Action::ListLLM, Action::GetStreamInfo, Action::GetFilter, Action::ListFilter, @@ -298,6 +310,8 @@ pub mod model { Action::GetSchema, Action::GetStats, Action::QueryLLM, + Action::GetLLM, + Action::ListLLM, Action::ListFilter, Action::GetFilter, Action::CreateFilter, @@ -326,4 +340,4 @@ pub mod model { tag: None, } } -} +} \ No newline at end of file