Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

RolesAndPermissions Container

Manages company roles and permission assignments for role-based access control.

Version: 1.0.0-beta27

Configuration

The RolesAndPermissions container provides the following configuration options:

ParameterTypeReq?Description
classNamestringNoAdds custom CSS classes to the container element. Use to override default styles, integrate with existing design systems, or apply conditional styling based on application state.
withHeaderbooleanNoControls whether to render the container header section. Set to false when embedding the container within a layout that already provides its own header to avoid duplicate navigation elements.

Slots

This container does not expose any customizable slots.

Usage

The following example demonstrates how to use the RolesAndPermissions container:

import { render as provider } from '@dropins/storefront-company-management/render.js';
import { RolesAndPermissions } from '@dropins/storefront-company-management/containers/RolesAndPermissions.js';
await provider.render(RolesAndPermissions, {
className: "Example Name",
withHeader: true,
})(block);