Currently the admins are defined in a list adminEmails, which is not flexible. Instead I think a function to resolve an admin role (return Boolean) is better. This way we can promote a user to admin without changing the code, or update config and restart.
Currently the admins are defined in a list
adminEmails
, which is not flexible. Instead I think a function to resolve an admin role (returnBoolean
) is better. This way we can promote a user to admin without changing the code, or update config and restart.