SUPERADMIN_CANT_CHANGE_OWN_ROLE
talawa-api • Docs
talawa-api / constants / SUPERADMIN_CANT_CHANGE_OWN_ROLE
Variable: SUPERADMIN_CANT_CHANGE_OWN_ROLE
> const
SUPERADMIN_CANT_CHANGE_OWN_ROLE: Readonly
<object
>
Type declaration
CODE
> CODE: "superadmin.NotChangeSelf"
= "superadmin.NotChangeSelf"
MESSAGE
> MESSAGE: "Superadmin's are not allowed to change their own roles. This is done as SUPERADMIN is the highest level of access to the system, and downgrading their own role may result in them being locked out of the system."
= "Superadmin's are not allowed to change their own roles. This is done as SUPERADMIN is the highest level of access to the system, and downgrading their own role may result in them being locked out of the system."
PARAM
> PARAM: "superadmin.NotChangeSelf"
= "superadmin.NotChangeSelf"