Manage only team member accounts in IAM - #35
Merged
Merged
Conversation
Driver, customer and contact login accounts are now managed by the server through their FleetOps profile, so IAM no longer lists them. - Remove the Drivers and Customers tabs, routes, controllers, templates and their sidebar and header-menu entries. Users is now a single list of team members (is_user). - Drop the unused type query param from the users index. - When creating or inviting a user whose email or phone belongs to an existing driver, customer or contact account in the organization, the server upgrades that account to a team member. Show a toast saying so (promoted_from).
This was referenced Sep 21, 2026
The server granted the Administrator role when no role was chosen. It now requires a role (fleetbase/core-api#266). Mark Role as required on the user and invite forms, and stop both flows before submitting when no role is selected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the managed profile accounts change. Driver, customer and contact login accounts are now owned by their FleetOps profile, not managed in IAM. Core is in fleetbase/core-api#264.
Changes
app/re-exports and unit tests;is_user: 1and uses the same header pattern as Groups.typequery param from the users index controller.user-actionsreadspromoted_fromfrom the invite response oruser.metaand shows "Existing {type} account for {name} was upgraded to a team member."Targets
release/v0.1.12, which is 5 commits ahead ofmain.Merge order
core-api → fleetops-data → fleetops → iam-engine
Testing
pnpm install --frozen-lockfilefails on an overrides mismatch in this repo.