Asserts that the provided credentials belong to NocoDB's super admin user.
Usage
assert_super_admin(
origin = funky::config_val("origin"),
email = funky::config_val("email"),
password = funky::config_val("password"),
api_token = NULL
)Arguments
- origin
character(1)
NocoDB server origin.character(1)
E-mail address of the NocoDB user to authenticate with.- password
character(1)
Password of the NocoDB user to authenticate with.- api_token
character(1)
NocoDB API token. Takes precedence overemailandpasswordif provided.
Details
The user is determined based on api_token or email and password (the former takes precedence).
See also
Other functions to manage NocoDB authentication:
api_tokens(),
create_api_token(),
delete_api_token(),
is_signed_in(),
is_super_admin(),
refresh_sign_in(),
req_auth(),
sign_in(),
sign_out(),
sign_up_user()
Other user:
is_signed_in(),
is_super_admin(),
refresh_sign_in(),
sign_in(),
sign_out()