Skip to content

BeechCMS


BeechCMS / @beechcms/core / SUPER_ADMIN_ROLE_NAME

Variable: SUPER_ADMIN_ROLE_NAME ​

const SUPER_ADMIN_ROLE_NAME: "SuperAdmin" = 'SuperAdmin'

Name of the system role seeded by 0000_v040_base.sql with the full permission set.

roles.name is UNIQUE, so the name is a stable handle; the id is minted by the migration and differs per database, which is why nothing may hardcode it.