···148 );
149}
150151+/**
152+ * Permission strings that constitute "any admin access".
153+ * Used to gate the /admin landing page.
154+ *
155+ * Note: `manageRoles` is intentionally absent. It is always exercised
156+ * through the /admin/members page, which requires `manageMembers` to access.
157+ * A user with only `manageRoles` would see the landing page but no nav cards,
158+ * which is confusing UX. `manageMembers` (already listed) covers that case.
159+ */
160const ADMIN_PERMISSIONS = [
161 "space.atbb.permission.manageMembers",
162 "space.atbb.permission.manageCategories",