Access Control Policy
| Category | Security |
|---|---|
| Version | 1.0 |
| Status | Approved |
| Approved | 2026-03-25 by Mishkin Berteig |
| Next Review | 2027-03-25 |
| ID | POL-2 |
| Document version | policies/access-control.md at commit 9c72db400a23 (SHA-256 7beb75c33fbb) |
Linked Controls
- AUTH-7 Administrative access
- HR-6 Termination process
- AUTH-8 Requesting and approving access
- AUTH-6 Role-based access control
- AUTH-4 Least-privilege access
Access Control Policy
Purpose
This policy establishes requirements for managing access to MaxGood.work systems, ensuring the principle of least privilege is enforced and access is appropriately granted, reviewed, and revoked.
Scope
All MaxGood.work platform systems including AWS services, application databases, third-party services (OpenAI, Xero, DocuSign, Stripe, Zoom, HighLevel), source code repositories, and internal tools (Kanban Zone, n8n, TrustCloud).
Role-Based Access Control
Access to all systems is granted based on defined roles with specific permissions. Roles are assigned based on job function and follow the principle of least privilege.
Platform Roles
| Role | Systems | Access Level |
|---|---|---|
| Security Officer | All systems | Administrative |
| Developer | CodeCommit, ECS (dev/staging), RDS (dev) | Read/write code, deploy to staging |
| DevOps | AWS infrastructure, CI/CD pipelines | Infrastructure management |
| Content Manager | MaxGoodAdmin, MaxGoodAI content APIs | Content upload and management |
| Super User | MaxGoodAdmin and /maxadmin/* |
Every staff permission; held by named MaxGood.work staff approved by the Security Officer |
| Customer Support Admin | MaxGoodAdmin and /maxadmin/* |
Nine permissions scoped to the default-grant Avatars: read, Expertise read and write, Align, display name, Foundations selection, deletion and default-grant removal; held by named support staff and by the AI support agent account |
| Licensed Author | MaxGoodAuthor (/api/author/*) |
Content submission only |
| End User | MaxGoodWeb, Slack, Teams, Email, iOS | Avatar interaction only |
AI Agent Roles
AI agents operate under the governance defined in CLAUDE.md/AGENTS.md. Their access is:
- Scoped to the workspace root (the MGAIGovernance clone) and its sub-repos; by design, agents work cross-repo
- Governed by tool permissions configured in the agent session
- Logged in decision logs for audit purposes
- Restricted from direct production database access
An AI agent that uses an application account is a non-human account and holds the Customer Support Admin role only. Its credential is a random password of at least 32 characters kept in the gitignored workspace .env, never in code, logs or files; the account is created by a Super User with a mailbox humans control, its role assignment records the approval, and the credential is rotated on suspected compromise and when a person with access to it leaves or changes roles. Its sign-ins, refusals and writes are logged under the Audit Logging Policy.
Least Privilege
- Users and agents receive only the minimum permissions required for their role
- Elevated permissions require explicit approval from the Security Officer
- Temporary elevated access must have a defined expiration
- Staff permissions are role-based: a staff account holds the permissions of its roles and no others, and a staff account with no role has no MaxGoodAdmin permission
- Where dedicated service credentials exist, they are scoped to their specific function. Some inter-service communication (e.g., MaxGoodWeb to MaxGoodAI) uses pass-through user credentials rather than dedicated service accounts
Administrative Access
Administrative access to MaxGoodAdmin is limited to staff roles. The Super User role is held by the fewest people the work needs, and the Customer Support Admin role gives no access to people's data, integrations, LLM configuration or other staff.
Administrative access to production systems is restricted to:
- The Security Officer (full administrative access)
- Authorized DevOps personnel (infrastructure administration only)
Administrative actions are logged via CloudTrail and reviewed as part of the security event review process defined in the Audit Logging Policy.
Requesting and Approving Access
- Access requests are submitted via Kanban Zone card or direct request to the Security Officer
- The Security Officer evaluates the request against role requirements and least-privilege principle
- Approved access is provisioned through the appropriate system (AWS IAM, Cognito, application admin)
- The access grant is documented in the Kanban Zone card or decision log
- A staff role is assigned only by a Super User in MaxGoodAdmin, with the Security Officer's approval named in the required reason; the assignment and removal are recorded as audit events and a Super User cannot change their own roles
Access Reviews
- On team composition or role change: Review and adjust access to all systems whenever team members join, leave, or change roles
- Quarterly: Review the holders of every staff role and every non-human account, and confirm each is still needed
- Annually: Review all system access against current roles as a catch-all
- On termination: Immediately revoke all access (see Termination Process)
Termination Process
Upon termination of any personnel or contractor:
- Revoke all system access within 24 hours of termination notification
- Disable AWS IAM credentials and Cognito accounts
- Revoke access to third-party services (OpenAI, CodeCommit, Kanban Zone, etc.)
- Collect or remotely wipe company devices
- Revoke VPN and network access
- Document the access revocation in a Kanban Zone card
- Review and rotate any shared credentials the individual had access to
- Hand over ownership: reassign the individual's Kanban Zone cards, repositories, tool and service accounts, and AWS resources to a named person, and record the new owners in the same Kanban Zone card