Skip to content

Support multiple dedicated admin accounts (service accounts without a mailbox/domain) #85

Description

@csiocc

Current situation

The Admin API and admin web UI currently provide exactly one admin identity that is not associated with a mailbox: the built-in admin account, created automatically by grommunio-admin passwd. Further administrative privileges can only be granted through roles attached to existing domain or mailbox users.

Problem

For operators and integrators, this leads to:

  • Every human operator and every external system sharing the same admin credentials. Audit logs cannot attribute actions to a specific person or integration.
  • Rotating the admin password breaking all consumers at once.
  • No way to disable a single operator or integration individually.
  • The only workaround being to grant admin roles to mailbox users, which ties administrative access to a licensed mailbox and to a person's lifecycle.

Proposed feature

Allow creating multiple dedicated admin accounts (service accounts) that:

  • exist independently of any domain or mailbox,
  • can be assigned the existing roles/permissions (system, organization, domain),
  • can be created, disabled, and deleted via the Admin API and the grommunio-admin CLI,
  • appear individually in audit and access logs.

Context / offer to contribute

We (Open Circle AG, a Swiss managed services provider) are integrating grommunio into our service platform, which uses the Admin API from an external Rails application. We would be willing to contribute to the implementation of this feature — happy to discuss design direction first if you have preferences.

Related: this fits naturally with scoped API tokens (see separate feature request); tokens would ideally be issued per service account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions