feat: Add Administrator permission and update permissions handling for roles and users

This commit is contained in:
MythEclipse
2025-09-26 00:45:57 +07:00
parent ff2e14d5f9
commit 1b7368a4b7
7 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ mod auth_repository_test {
role: RolesDetailQueryDto {
id: make_thing("app_roles", &Uuid::new_v4().to_string()),
name: "Dummy Role".into(),
permissions: vec![],
permissions: Some(vec![]),
is_deleted: false,
created_at: Some(get_iso_date()),
updated_at: Some(get_iso_date()),