[ MSP, APIs & integrations ]

Role-based access for customer staff, analysts and administrators

Give customer staff, analysts and administrators only the actions and tenant scope their responsibilities require.

By the EmailAuth research team · 2 min read

[ Key points ]

  • Give customer staff, analysts and administrators only the actions and tenant scope their responsibilities require.
  • Evaluate action, resource and current tenant scope on each request; role names and successful login do not establish authorization.
On this page

A role name does not define a permission until it is translated into actions on resources. In an authentication service, reading a report, exporting it, approving a change and executing that change have different consequences. Build a small explicit access matrix before assigning people to roles.

Start with tasks and resources

For each tenant, list domain inventory, aggregate reports, proposals, DNS execution and user administration. Decide who may read, export, propose, approve, execute and manage membership. Customer staff might read their own reports; analysts might investigate and propose; designated approvers authorize business impact; operators execute approved changes. These are proposed role boundaries, not claims about a specific product.

OWASP recommends least privilege, default denial and permission checks on every request. A role should therefore be evaluated with tenant scope and resource identity, not as a global Boolean flag. Authentication establishes the principal; authorization decides whether that principal may perform this action now.

Separate approval from capability

An operator's technical access does not automatically authorize every business change. Bind execution to the approved proposal and enforce any separation-of-duties requirements the customer adopts. If one person holds multiple roles, record the overlap and its compensating review instead of pretending two role names represent two independent people.

Keep permission administration separate from routine analysis where practical. A person who can grant themselves execution rights can defeat a nominal approval boundary. Define who may assign powerful roles, how those assignments are reviewed and what emergency access expires automatically. Avoid shared administrator accounts when individual accountability is required.

Exercise the access matrix

Suppose a reader can view reports in tenant A but attempts an export requiring a separately granted permission. A successful login and read do not establish export authority. Separately, an analyst who moved off the account may still have an old session; current membership and resource scope must be checked before that session retrieves another report. These are hypothetical permission cases, not a tested application policy.

Evaluate allowed and denied operations through the actual API, sessions, scheduled tasks and exports using authorized test identities. Include a valid scoped read so global denial is not mistaken for correct access control. Retain the effective permissions, test context and observed outcome; a neat matrix alone does not demonstrate enforcement.

Keep the lifecycle visible

Record the reason, tenant scope, approver and review date for role assignments. On a job change, remove old permissions instead of only adding new ones. Offboarding should revoke memberships and associated access paths, then confirm the principal can no longer retrieve artifacts or initiate work. Service identities need named owners and separate lifecycle reviews.

Review permission drift when customers, domain assignments or automation capabilities change. Compare effective permissions, including inherited groups, with the approved matrix. If a customer needs a temporary exception, define the precise operation, expiry and review record. Close the exception when the need ends. Roles are a maintenance mechanism, not a one-time proof that access remains safe.

[ Takeaway ]

Evaluate action, resource and current tenant scope on each request; role names and successful login do not establish authorization.

[ By role ]

What this means for you

Choose your role for practical next steps.

IT / Mail Admin

Verify effective permissions

Inherited grants can differ from the intended matrix.

Next steps

  1. Test direct API operations.
  2. Recheck access after role changes.
  3. Remove obsolete grants on role changes.

CISO / SecOps

Control privilege assignment

Permission administrators can reshape the boundary.

Next steps

  1. Audit powerful grants.
  2. Set emergency-access expiry.
  3. Review who can assign powerful roles.

Founder / Non-technical

Match access to responsibilities

A clear matrix reduces operational ambiguity.

Next steps

  1. Name business approvers.
  2. Review role overlap.
  3. Fund periodic access reviews.

[ FAQs ]

Frequently asked questions

Does an administrator role imply customer approval?

No. Technical capability and approval of a particular business change are separate.

Can one role cover several tenants?

Yes, if each tenant scope is explicitly authorized and enforced.

Why separate approval and execution?

It makes responsibility and review visible, particularly for consequential changes.

Do two roles prove separation of duties?

No. The same person may hold both roles; evaluate actual identities and authority.

What must happen after a job change?

Remove obsolete permissions as well as granting newly needed ones.

Should service accounts be reviewed?

Yes. Assign an owner and review their scopes and ongoing need.

Does the permission example test an identity system?

No. It illustrates separate export permission and revoked membership. Actual sessions, jobs, APIs and exports need scoped allowed-and-denied tests.

Can a working login prove access is correct?

No. Login authenticates the principal; each action still needs authorization.

[ Sources ]

Sources

  1. OWASP Authorization Cheat Sheet

    Sections Enforce Least Privileges · Deny by Default · Validate the Permissions on Every Request · Create Unit and Integration Test Cases for Authorization Logic

  2. OWASP Multi Tenant Security Cheat Sheet

    Sections §1. Tenant Identification & Context Management · §3. Preventing Cross-Tenant Data Access (IDOR Prevention) · §4. Cache & Session Isolation · §5. API, Asynchronous Work & Resource Controls · §6. File Storage & Blob Isolation · §7. Tenant Onboarding & Offboarding Security

[ Glossary ]

Glossary

Role
A named collection of permitted actions, subject to scope.
Separation of duties
Distribution of responsibilities to reduce unreviewed control by one principal.

Enterprise provenance

Why top financial institutions and governments retired their email security dashboards.

Traditional email authentication platforms sell you a dashboard and ask your engineers to do the labour. In high-stakes environments, manual oversight means delayed enforcement, configuration drift and unmonitored shadow domains.

EmailAuth is the agentic email provenance platform. Our agents enforce p=reject, keep third-party senders aligned and move your domains to full RFC 9989 compliance, the new DMARC standard,, with human-in-the-loop auditability.

Governments Large enterprises Tier-1 financial institutions

SaaS · Dedicated tenancy · Air-gapped on-prem · BYOK encryption

Knowledge Base