Admin nav
Settings → Admin nav is Developer chrome, not a Features row. A Developer adds, renames, deletes, and drags group headers and the collections or globals under each. An Admin never opens the editor. Every login can read the document so the sidebar can paint. Save writes immediately.
adminNav() sets admin.components.Nav to the package Nav. A consuming site must not write a Nav component. An empty document falls back to Payload’s first-seen walk (collections, then globals, bucketed by admin.group). Once the document has groups, that list is the sidebar — omitted collections and globals stay off it. group: false stays off.
import { adminNav, createAdminNav, createFeatures, createRoles } from "@bison-lab/payload-core";
export default buildConfig({ plugins: [adminNav()], globals: [createAdminNav(), createRoles(), createFeatures()],});Then payload generate:importmap and payload migrate:create. access.update is isDeveloper, admin.hidden is hideUnlessDeveloper, access.read is isAuthenticated so the package Nav can fetch the layout.