Implement OSD-side authorization for operations

This commit is contained in:
Vitaliy Filippov
2026-04-29 02:42:23 +03:00
parent 9372df4beb
commit a972c13571
25 changed files with 305 additions and 101 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ struct image_creator_t
bool check_pool_permission()
{
if (!parent->user || parent->user->type == "admin")
if (!parent->user || parent->user->type == user_type_t::ADMIN)
{
return true;
}