Skip to content

Commit b564b1c

Browse files
committed
Add LLM related actions to roles
1 parent 81769b5 commit b564b1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/rbac/role.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ pub mod model {
244244
Action::QueryLLM,
245245
Action::GetLLM,
246246
Action::ListLLM,
247+
Action::AddLLM,
248+
Action::DeleteLLM,
247249
Action::CreateFilter,
248250
Action::ListFilter,
249251
Action::GetFilter,
@@ -288,6 +290,8 @@ pub mod model {
288290
Action::QueryLLM,
289291
Action::GetLLM,
290292
Action::ListLLM,
293+
Action::AddLLM,
294+
Action::DeleteLLM,
291295
Action::GetStreamInfo,
292296
Action::GetFilter,
293297
Action::ListFilter,
@@ -312,6 +316,8 @@ pub mod model {
312316
Action::QueryLLM,
313317
Action::GetLLM,
314318
Action::ListLLM,
319+
Action::AddLLM,
320+
Action::DeleteLLM,
315321
Action::ListFilter,
316322
Action::GetFilter,
317323
Action::CreateFilter,

0 commit comments

Comments
 (0)