canOpenAdminPage
canOpenAdminPage(
__namedParameters):boolean
Decide whether the signed-in user may open the admin UI.
With RBAC (permissions present), only admin:access grants entry.
Without RBAC, fall back to the legacy user.admin flag.
Parameters
__namedParameters
admin?
boolean
permissions?
Returns
boolean