Troubleshooting
Troubleshoot identity and access boundaries — Sustainable Catalyst Platform Core
Diagnose identity and authorization failures across Platform Core, including incorrect tenant scope, revoked access, role mapping, and cross-application permission boundaries.
Application: Sustainable Catalyst Platform Core
Knowledge Base Area: Identity, Authentication, Authorization, and Access Control
Audience: Platform developers, security engineers, administrators, application integrators, and technical reviewers
Classification: Technical Troubleshooting and Security Operations
Estimated Reading Time: 9 minutes
Verification Status: Technical guidance — production verification pending
1. Purpose and Scope
Identity and access boundaries determine which users, services, and organizational actors may access or modify resources within Sustainable Catalyst.
Platform Core is intended to provide shared identity and authorization capabilities that support interactions among applications, organizations, projects, and governed research objects.
Failures in these boundaries can prevent legitimate work, produce inconsistent permissions, expose restricted resources, or allow operations outside an authorized organizational scope.
The central acceptance requirement is that users and services cannot read or mutate objects outside their permitted scope.
Successful authentication alone must never imply unrestricted authorization across the platform.
This guide describes diagnostic principles, proposed service contracts, test expectations, and recovery procedures. It does not assert that any specific identity endpoint, token issuer, permission table, or authorization mechanism is currently operational.
2. Understand Identity and Access Boundaries
Identity and authorization systems should distinguish several separate responsibilities.
2.1 Authentication
Authentication establishes the identity of a user or service through a trusted mechanism.
Examples include interactive sign-in, an authenticated session, or a validated service credential.
Authentication answers the question: Who is making the request?
It does not independently determine which project, organization, document, or research object the actor may access.
2.2 Authorization
Authorization determines whether the authenticated actor is permitted to perform a particular action on a particular resource.
Examples include reading a project, editing a research artifact, exporting a dataset, or publishing a reviewed output.
Authorization answers: May this actor perform this operation on this resource in the current context?
2.3 Organizational Membership
Organizational membership associates an actor with a particular organization or institutional context.
An authenticated account may belong to multiple organizations or have different responsibilities across them.
Membership in one organization must not automatically grant access to another organization’s resources.
2.4 Project Membership
Project membership may define responsibilities and permissions within a specific Workspace or research project.
A user authorized to access an organization may still lack permission to view or modify an individual restricted project.
2.5 Resource-Level Permissions
Individual datasets, publications, models, research objects, or administrative records may have additional restrictions.
Resource authorization must consider the actual ownership and permissions of the object rather than relying solely on a client-provided project identifier.
2.6 Service-to-Service Authorization
Applications may communicate through service identities or delegated authorization mechanisms.
A backend integration must not assume that its infrastructure-level access grants permission to retrieve arbitrary user data.
Where delegated access is required, the trusted service boundary should preserve the authorized subject, audience, scope, and relevant project context.
3. Recognize Common Failure Symptoms
3.1 Authentication Failure
A user or service cannot establish a valid authenticated session.
Possible causes include expired credentials, invalid session state, untrusted token issuers, incorrect client configuration, or unavailable identity services.
3.2 Authorization Denial
Authentication succeeds, but the requested operation is denied.
This may be expected behavior when the actor lacks the required permission. Do not automatically classify every authorization denial as a software defect.
3.3 Cross-Organization Access Failure
A user attempts to access an object belonging to a different organization.
The system must reject unauthorized access even if the actor can guess or obtain the object’s identifier.
3.4 Incorrect Project Context
A user may have permission in one project but not another. A stale project selection or incorrect resource reference can produce unexpected denials or misleading application state.
3.5 Revoked Access Remains Active
A user continues accessing resources after relevant membership or permissions have been revoked.
Potential causes include stale authorization caches, long-lived credentials, incomplete session invalidation, or missing server-side permission checks.
3.6 Inconsistent Cross-Application Permissions
A user may access a project in Workspace while a related Library, Research, Lab, or Reporting Studio operation fails.
Investigate whether the applications rely on compatible identity, resource ownership, audience, and permission contracts.
3.7 Partial Authorization or Identity-Service Failure
An authorization dependency may become unavailable while application services remain operational.
Protected operations must not silently become unrestricted because an identity service, policy decision, or authorization cache is unavailable.
4. Diagnostic Workflow
Step 1 — Identify the Request Context
Record the affected application, environment, operation, resource identifier, organization, project, and authenticated actor type.
Capture nonsecret request identifiers and timestamps.
Do not include raw credentials, session cookies, bearer tokens, or private research contents in diagnostic records.
Expected result: The failed operation is associated with a precisely identified resource and authorization context.
Step 2 — Confirm Authentication
Determine whether the request was authenticated by the expected trusted identity mechanism.
Where token-based authentication is implemented, verify the applicable issuer, audience, expiration, signature, and other required validation conditions.
Do not accept identity claims solely because they appear in decoded token content or client-supplied headers.
Expected result: The authenticated principal is established through a trusted and correctly validated mechanism.
Step 3 — Verify Organization Membership
Check whether the authenticated actor belongs to the organization that owns or governs the requested resource.
Inspect the authoritative organization identifier and current membership state.
Do not infer organizational membership from email domains, display names, or unverified client-supplied metadata.
Expected result: Organizational access is supported by an authoritative membership or policy decision.
Step 4 — Verify Project Membership and Role
Resolve the project using the authoritative project service and confirm the actor’s current permissions.
Distinguish project visibility, membership, editing rights, administrative responsibilities, and publication authority.
Expected result: The requested action is permitted by the applicable project and resource authorization rules.
Step 5 — Validate Resource Ownership
Verify that the resource belongs to the organization and project identified by the trusted server-side records.
Do not rely on a request body or URL parameter as the authoritative source of resource ownership.
Ensure an actor cannot substitute another organization’s artifact identifier to bypass a permitted project context.
Expected result: Resource ownership and authorization are established independently of untrusted input.
Step 6 — Inspect Session and Permission State
Determine whether the request is using current permissions or outdated authorization information.
Inspect session lifecycle, revocation propagation, cache invalidation, service-token validity, and relevant authorization policy versions.
Expected result: Current authorization decisions reflect the authoritative access state within the system’s documented consistency requirements.
Step 7 — Classify the Failure
Distinguish among authentication failure, denied authorization, missing resource, invalid schema, stale version, unavailable dependency, and application-data integrity problems.
Use sanitized diagnostic information to determine the actual failure boundary before changing configuration or retrying write operations.
Expected result: The cause is identified without weakening security controls.
5. Reference Authorization Contract
The following JSON illustrates a proposed internal authorization decision record. It is not a verified Platform Core endpoint, wire format, or deployed schema.
{
"schema_version": "1.0.0",
"request_id": "synthetic-request-001",
"principal": {
"type": "user",
"id": "synthetic-user-001",
"issuer": "trusted-issuer-placeholder"
},
"context": {
"organization_id": "synthetic-org-001",
"project_id": "synthetic-project-001"
},
"resource": {
"type": "research_artifact",
"id": "synthetic-artifact-001"
},
"action": "read",
"decision": {
"allowed": false,
"reason_code": "INSUFFICIENT_PERMISSION",
"policy_version": "1"
},
"evaluated_at": "2026-11-14T12:00:00Z"
}
All identifiers and values are synthetic. A production implementation must define which decision details are internal and which may be disclosed to the requesting actor.
Contract Requirements
- Use stable and authoritative actor and resource identifiers.
- Validate the authenticated principal at a trusted boundary.
- Resolve organization and project ownership server-side.
- Use explicit actions and resource types.
- Provide consistent authorization decisions and typed failure classifications.
- Enforce bounded request and response payloads.
- Prevent disclosure of internal security policy details through public responses.
- Preserve appropriate audit and correlation information.
Authorization decisions should not be trusted merely because a client submits an object declaring that access is allowed.
6. Security Requirements and Trust Boundaries
6.1 Deny by Default
Requests without a valid authorization decision should be denied unless the resource is explicitly designed for public access.
Failure of an authorization dependency should not automatically broaden permissions.
6.2 Least Privilege
Users and services should receive only the permissions necessary for their authorized responsibilities.
Administrative access, project ownership, scientific review, and public publication should remain distinguishable capabilities.
6.3 Object-Level Authorization
Every protected object retrieval or mutation must enforce authorization against the authoritative resource and actor context.
A valid authenticated session does not eliminate the need for object-level checks.
6.4 Cross-Tenant Isolation
Organizations and projects must not gain access to one another’s restricted data through identifier substitution, search filters, exports, cached results, or integration calls.
Tenant isolation must be verified at the backend service boundary and applicable storage layer.
6.5 Credential Protection
Service credentials and signing keys must be managed through approved secret-management and deployment mechanisms.
Do not expose secrets through frontend code, public configuration files, application logs, support tickets, or repository commits.
6.6 Safe Redirects and Callback Handling
Where authentication workflows use redirects or callbacks, validate allowed destinations and applicable state-binding mechanisms.
Reject untrusted redirect destinations and prevent session or authorization data from being delivered to unauthorized origins.
6.7 Auditability
Record significant access-control changes, authorization failures, membership transitions, and privileged operations where required by the security architecture.
Audit logs should support investigation without exposing sensitive credentials or unnecessary personal information.
7. Access Revocation and Session Handling
Authorization should reflect changes to organizational membership, project roles, account status, and service permissions.
Revoking access is not equivalent to hiding navigation controls or removing a user from a local frontend list.
The responsible backend must enforce the effective access change.
Revocation Validation
- Establish a synthetic user with documented access to a test project.
- Verify an authorized read or modification within the test environment.
- Revoke the relevant permission through the authoritative mechanism.
- Repeat the operation using the existing session.
- Repeat using a newly established session if applicable.
- Check whether cached authorizations or active credentials remain valid beyond the documented policy.
- Verify that the denied operation does not mutate the protected resource.
Acceptance criterion: Revoked permissions become effective according to the system’s documented security policy, and unauthorized requests do not continue accessing protected resources.
Stateless tokens may remain cryptographically valid until expiration unless the implementation supports additional revocation or authorization checks. Security requirements must account for this behavior explicitly.
8. Automated Security and Integration Test Matrix
Use synthetic identities, disposable projects, isolated databases, and controlled test environments. Do not run destructive authorization tests against real organizational data.
| Test | Expected Result |
|---|---|
| Valid authentication and authorized access | An authorized actor can perform the permitted operation. |
| Unauthenticated request | Protected operations reject requests without valid authentication. |
| Invalid token issuer | Credentials issued by an untrusted authority are rejected. |
| Incorrect token audience | A token intended for another service is rejected. |
| Expired credential | Expired credentials cannot authorize new protected operations. |
| Wrong organization | Cross-organization resource access is denied. |
| Wrong project | Unauthorized project access is denied. |
| Resource identifier substitution | Changing an object ID cannot bypass resource-level authorization. |
| Revoked membership | Previously authorized operations are denied after effective revocation. |
| Stale permission cache | Outdated authorization data cannot grant access beyond the defined policy. |
| Missing resource | The request fails without exposing restricted ownership information. |
| Incomplete request | Invalid inputs are rejected without altering protected records. |
| Duplicate write request | Retries do not create unintended duplicate mutations. |
| Stale artifact revision | Conflicting mutations are rejected or explicitly reconciled. |
| Authorization dependency unavailable | Protected operations do not fail open. |
| Unsafe redirect | Untrusted callback or redirect destinations are rejected. |
| Public response privacy | Restricted identity and research details are excluded. |
| Audit event integrity | Relevant access decisions and permission changes remain traceable. |
| Migration and restore | Access boundaries remain effective after supported migration and recovery operations. |
Acceptance should verify actual persisted state, authorization decisions, and service behavior rather than relying exclusively on HTTP status codes or unit-test mocks.
9. Common Problems and Corrective Actions
| Symptom | Likely Cause | Corrective Action |
|---|---|---|
| User can sign in but cannot access a project | Missing organization or project permission. | Verify authoritative membership and resource authorization. |
| Access remains after membership removal | Stale session, token, or authorization cache. | Inspect revocation behavior and the applicable permission policy. |
| One application permits access while another denies it | Inconsistent identity, audience, or ownership contracts. | Compare trusted issuer, service audience, project mapping, and policy behavior. |
| Protected resource appears under another organization | Tenant-isolation or object-authorization defect. | Restrict access immediately and initiate security review. |
| Service integration returns authorization errors | Incorrect service identity, audience, or delegated scope. | Verify the actual integration contract and approved credentials configuration. |
| Access intermittently fails | Identity-service availability or inconsistent cached state. | Inspect dependency health, correlation IDs, and authorization cache consistency. |
| Mutation succeeds despite inadequate permissions | Missing server-side enforcement. | Stop affected writes, preserve evidence, and escalate as a security defect. |
| Unexpected login redirects | Incorrect callback configuration or state handling. | Verify allowed destinations, issuer configuration, and session state binding. |
10. Safe Recovery and Incident Handling
When an identity or access-boundary defect occurs, prioritize containment, evidence preservation, and restoration of correct authorization behavior.
- Identify the affected boundary. Determine the application, organization, project, actor, and operation involved.
- Contain unauthorized access. Restrict affected routes, credentials, sessions, or integrations through approved procedures where necessary.
- Preserve evidence. Retain relevant audit records, configuration revisions, request identifiers, and sanitized diagnostic information.
- Determine the cause. Separate identity validation failures from policy, membership, caching, and resource-ownership defects.
- Reproduce safely. Use synthetic identities and isolated staging resources.
- Validate the correction. Run both authorized-access and unauthorized-access regression tests.
- Apply an approved recovery action. Avoid undocumented policy bypasses or broad permission grants.
- Verify persistence. Confirm correct access behavior after reloads, restarts, or relevant session changes.
- Review downstream effects. Determine whether unauthorized reads, writes, exports, or publications occurred.
- Document closure. Record the issue, corrective action, verification evidence, and outstanding limitations.
Do not repeatedly retry privileged write operations when the previous transaction outcome is unknown.
A database rollback or restoration may be appropriate for particular data-integrity failures, but it is not a substitute for revoking exposed credentials or correcting an authorization defect.
Public support reports must not contain raw tokens, passwords, service secrets, private research records, or confidential organizational information.
11. Cross-Application Identity and Authorization Boundaries
Platform Core is intended to support consistent authorization decisions across the Sustainable Catalyst ecosystem.
The following describes intended integration responsibilities and does not independently confirm live production connections.
| Application | Relevant Access Boundary |
|---|---|
| Platform Core | Trusted identity, organization membership, common authorization policies, and service identity. |
| Workspace | Project membership, ownership, permissions, and administrative roles. |
| Research Hub | Private research ownership, publication controls, and approved public visibility. |
| Library | Dataset access, source rights, restricted artifacts, and authorized retrieval. |
| Lab | Research computation permissions, experimental records, and governed outputs. |
| Workbench | Authorized model execution, input datasets, computational runs, and result access. |
| Decision Studio | Scenario ownership, reviewed decision records, and restricted analytical inputs. |
| Reporting Studio | Publication drafting, reviewer permissions, export authorization, and release controls. |
| Media | Administrative access, publication and distribution permissions, and protection of private contact data. |
A shared sign-in experience does not establish that all applications use identical authorization contracts.
Every integration must verify that authenticated identity, project ownership, resource permissions, and service boundaries are correctly enforced.
12. Source Audit and Production Acceptance Requirements
Before declaring the Platform Core identity and access boundary verified, developers must inspect the actual implementation and obtain reproducible runtime evidence.
Required Implementation Anchors
- Owning source repository and exact commit identifier.
- Trusted identity issuer and supported authentication mechanisms.
- Actual authorization and policy decision contracts.
- Organization and project membership schema.
- Resource ownership and object-level permission enforcement.
- Service authentication and delegated authorization behavior.
- Session lifecycle and revocation mechanisms.
- CI and security regression test results.
- Cross-tenant and cross-owner isolation evidence.
- Isolated staging acceptance results.
- Relevant database migrations, backups, restore tests, and rollback plans.
- Known security limitations and production deployment status.
Acceptance Checklist
- Authentication and authorization are implemented as separate controls.
- Organization membership is validated independently of user authentication.
- Project and resource permissions are enforced server-side.
- Unauthorized cross-tenant reads and mutations are denied.
- Revoked permissions cannot continue granting access beyond the approved policy.
- Service identities and delegated access are appropriately scoped.
- Authentication and authorization dependencies do not fail open.
- Private research and credentials are excluded from public responses.
- Relevant identity and authorization events remain traceable.
- Supported migrations and recovery procedures preserve security boundaries.
Final acceptance criterion: An authenticated actor can access only resources and operations for which it has current, authoritative permission. Unauthorized access must remain denied across organizations, projects, applications, sessions, and supported recovery conditions.
Successful isolated tests support engineering acceptance but do not independently establish that the production environment is secure.
13. References and Further Reading
- OWASP. Authentication Cheat Sheet. OWASP Authentication Guidance
- OWASP. Authorization Cheat Sheet. OWASP Authorization Guidance
- OWASP. API Security Top 10. OWASP API Security
- IETF. JSON Web Token (JWT), RFC 7519. RFC 7519
- IETF. OAuth 2.0 Security Best Current Practice, RFC 9700. RFC 9700
- NIST. Digital Identity Guidelines, SP 800-63. NIST Digital Identity Guidelines
- NIST. Zero Trust Architecture, SP 800-207. NIST Zero Trust Architecture
These references provide external security and identity-management guidance. They do not certify the current Sustainable Catalyst Platform Core implementation.
