Skip to content

Manage only team member accounts in IAM - #35

Merged
roncodes merged 2 commits into
release/v0.1.12from
feature/managed-profile-accounts
Sep 22, 2026
Merged

roncodes merged 2 commits into
release/v0.1.12from
feature/managed-profile-accounts

Conversation

@roncodes

Copy link
Copy Markdown
Member

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

  • Removed the Drivers and Customers tabs:
    • routes, route classes, controllers and templates, plus their app/ re-exports and unit tests;
    • the Users sidebar children and the Drivers/Customers shortcuts in the IAM header menu.
  • Users is now a single list of team members. It still queries with is_user: 1 and uses the same header pattern as Groups.
  • Removed the unused type query param from the users index controller.
  • New promotion toast. Creating or inviting a user whose email or phone belongs to an existing driver, customer or contact account in the organization now upgrades that account on the server (core-api#264). user-actions reads promoted_from from the invite response or user.meta and shows "Existing {type} account for {name} was upgraded to a team member."

Targets release/v0.1.12, which is 5 commits ahead of main.

Merge order

core-api → fleetops-data → fleetops → iam-engine

Testing

  • ESLint, ember-template-lint, Prettier and intl-lint pass on the changed files.
  • Ember tests were not run locally: pnpm install --frozen-lockfile fails on an overrides mismatch in this repo.
  • Manual checks:
    • IAM → Users shows one list with no driver or customer accounts.
    • Invite the email of an existing driver: the toast appears and the driver can now sign in to the console after setting a password.

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).
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.
@roncodes
roncodes merged commit 2a8d1fa into release/v0.1.12 Sep 22, 2026
3 checks passed
@roncodes
roncodes deleted the feature/managed-profile-accounts branch September 22, 2026 07:55
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