# principal type constant
PRINCIPAL_TYPE_USER = "user"
PRINCIPAL_TYPE_ADMIN = "admin"
PRINCIPAL_TYPE_SUBADMIN = "subadmin"

# principal source constant
PRINCIPAL_SOURCE_APP = "app"
PRINCIPAL_SOURCE_WEB = "web"
PRINCIPAL_SOURCE_GOOGLE = "google"
PRINCIPAL_SOURCE_APPLE = "apple"

# app action constant
ACTION_CREATE = "create"
ACTION_READ = "read"
ACTION_UPDATE = "update"
ACTION_DELETE = "delete"


RESOURCE_MANAGE_DASHBOARD = "manage_dashboard"
RESOURCE_MANAGE_IAM = "manage_iam"
RESOURCE_MANAGE_USER = "manage_user"

RESOURCE_MANAGE_SUPPORT = "manage_support"
RESOURCE_MANAGE_CONTACT_US = "manage_contact_us"
RESOURCE_MANAGE_FEEDBACK = "manage_feedback"
RESOURCE_MANAGE_NOTIFICATION = "manage_notification"

RESOURCE_MANAGE_CMS = "manage_cms"
RESOURCE_MANAGE_FAQS = "manage_faqs"
RESOURCE_MANAGE_T_C = "manage_tc"
RESOURCE_MANAGE_PRIVACYPOLICY = "manage_privacypolicy"


# These constants are used solely for managing the active and inactive state of pages
# and should not be considered as resources in the typical sense.
# They are used for page management purposes only.
RESOURCE_IAM_PRINCIPAL = "iam_principal"
RESOURCE_IAM_PRINCIPAL_GROUP = "iam_principal_group"
RESOURCE_IAM_GROUP = "iam_group"
RESOURCE_IAM_ROLE = "iam_role"
