Skip to content

feat: Let modules inject admin tabs when editing a user group - #538

Merged
hellopablo merged 1 commit into
feature/pre-new-adminfrom
feature/group-admin-tabs
Sep 9, 2026
Merged

feat: Let modules inject admin tabs when editing a user group#538
hellopablo merged 1 commit into
feature/pre-new-adminfrom
feature/group-admin-tabs

Conversation

@hellopablo

Copy link
Copy Markdown
Member

Summary

  • Adds Nails\Auth\Interfaces\Admin\User\Group\Tab, mirroring user edit tabs so modules can contribute group settings.
  • Discovers those tabs when editing a group, runs their validation, and calls afterSave() after the group is written.
  • Replaces the hard-coded legacy 2FA tab with the injected tabs.

Test plan

  • Edit a user group and confirm Basic / Password / Permissions still work
  • With module-multi-factor-auth installed, confirm the MFA tab appears and saving a policy persists

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@hellopablo
hellopablo merged commit cdf0482 into feature/pre-new-admin Sep 9, 2026
4 checks passed
@hellopablo
hellopablo deleted the feature/group-admin-tabs branch September 9, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant