Skip to content

Realm: Operation Portal

Overview

#!/bin/python3

# Internal
from app.config import __CONFIG__

# Define
ROLES_ADMIN: list[str] = [
    "mark.pham@innotech.vn",
    "dat.phan@innotech.vn",
    "bao.truong@innotech.vn",
    "thinh.luu@innotech.vn",
    "tien.luong@innotech.vn",
    "linh.vuong@innotech.vn",
]

if __CONFIG__.ADMIN_SERVICE_ACCOUNT_EMAIL is not None:
    ROLES_ADMIN = ROLES_ADMIN + [__CONFIG__.ADMIN_SERVICE_ACCOUNT_EMAIL]

# Component: Roles with principal, this currently handle on memory
ROLES: dict[str, list[str]] = {
    "admin": ROLES_ADMIN,
    "operation": [
        "yen.bui@innotech.vn"
    ],
    "approval": [
        "yen.ho@innotech.vn",
    ]
}