> ## Documentation Index
> Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cross-Creditor Danger Rules

> A Super Admin user can view data across creditors.

## Real-World Example

A Super Admin user can view data across creditors. A developer adds a bulk action and must make sure it cannot accidentally update consumers, payments, merchant settings, or communications for the wrong creditor.

## Visual Flow

```mermaid placement="top-right" actions={true} theme={"system"}
flowchart TD
    A["Developer changes Super Admin workflow"] --> B["Workflow can cross creditor boundaries"]
    B --> C{"Scope, audit, and confirmation safe?"}
    C -->|Yes| D["Change can proceed with tests"]
    C -->|No| E["Change must be redesigned"]
    classDef default fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef actor fill:#E0F2FE,stroke:#0284C7,stroke-width:2px,color:#0C4A6E;
    classDef system fill:#F8FAFC,stroke:#64748B,stroke-width:1.5px,color:#0F172A;
    classDef decision fill:#FEF3C7,stroke:#D97706,stroke-width:2px,color:#78350F;
    classDef risk fill:#FEE2E2,stroke:#DC2626,stroke-width:2px,color:#7F1D1D;
    classDef outcome fill:#DCFCE7,stroke:#16A34A,stroke-width:2px,color:#14532D;
    class A actor;
    class B,D,E system;
    class C decision;
    class D outcome;
    class E risk;
    linkStyle default stroke:#94A3B8,stroke-width:2px;
```

## How It Should Work

* It should treat cross-creditor access as high risk by default.
* It should require explicit scoping for creditor, consumer, merchant, payment, communication, and membership records.
* It should use confirmation, auditability, and focused tests for bulk or destructive changes.

## How It Should Not Work

* It should not reuse creditor-scoped assumptions blindly in Super Admin pages.
* It should not perform silent bulk changes across creditors.
* It should not expose payment or consumer data without a clear platform-support purpose.

## Developer Notes

* Use this page when adding or reviewing Super Admin features that can affect more than one creditor.
* This is a developer guardrail page, not an end-user training page.

## Related App Areas

* `routes/superadmin.php`
* `app/View/Composers/SidebarComposer.php`
* `app/Livewire/Creditor/ManageCreditors`
* `app/Livewire/Creditor/ManageConsumers`
* `app/Livewire/SuperAdmin`
