Skip to contents

Determines whether or not the provided credentials belong to NocoDB's super admin user.

Usage

is_super_admin(
  hostname = pal::pkg_config_val("hostname"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = NULL
)

Arguments

hostname

NocoDB server hostname. A character scalar.

email

E-mail address of the NocoDB user to authenticate with.

password

Password of the NocoDB user to authenticate with.

api_token

NocoDB API token. Takes precedence over email and password if provided.

Value

A logical scalar.

Details

The user is determined based on api_token or email and password (the former takes precedence).

See also