codifyiq_group_manager 1.1.0
codifyiq_group_manager: ^1.1.0 copied to clipboard
Material 3 widgets for managing flat authorization groups and assigning one or more of them to users.
1.1.0 #
lockedIdsonGroupAssignmentField,GroupPicker,GroupManagerView, andGroupListView— designate permanent groups (e.g. an "Admin" group that always has access). When assigning, locked groups always show as chips bearing a lock glyph in place of the remove affordance (tooltip: "Required — can't be removed"), appear checked-and-disabled with the same lock glyph in the picker, and are always present in the resulting selection regardless of user interaction. In the catalog, a locked group's row shows a lock badge (tooltip: "Locked — can't be deleted") and offers no Delete action (it stays editable), so the permanent group your assignments depend on can't be deleted out from under them.footeronGroupManagerViewandGroupListView— render a help or policy note beneath the last group that scrolls with the catalog.
1.0.0 #
- Initial release.
GroupManagerController+GroupManagerScope— a UI-only state container for a flat catalog of authorization groups and their assignment to principals (no nested groups, no separate roles).GroupManagerViewandGroupListView— drop-in Material 3 surfaces for creating, editing, and deleting groups, with cascade-unassign on delete and built-in search to filter long catalogs.GroupManagerViewcaps its content to a comfortable measure and centers it on large screens (configurable viamaxContentWidth). Intercept persistence withonCreate/onEdit/onDeleteto wire create/edit/delete to a backend before (or instead of) mutating the controller.GroupColor— group accents are theme-derived roles (primary/secondary/tertiary/neutral) resolved against the activeColorScheme, so they adapt to light/dark; a stable role is auto-assigned when none is set.GroupAssignmentField— assign one or more groups to a target via removable chips and a stationary edit button that opens a searchable picker (which both adds and removes membership). Customize the trigger's tooltip and glyph viaeditLabel/editIcon— e.g. an authorization icon when granting access rather than editing membership.GroupPicker— a searchable, multi-select group picker that adapts between a bottom sheet (compact widths) and a dialog (large screens).GroupEditorDialog,GroupChip, andGroupAvatar— composable building blocks for custom group-management screens.