Skip to content

Admin / RBAC hardening #7

Description

@Omoboi-dev

`Admin` is set once and can never be rotated; roles aren't separated. Add `set_admin` (auth-gated) and document the RBAC matrix.

Acceptance criteria

  • Admin can transfer the role; non-admin cannot.
  • `docs/SECURITY.md` RBAC matrix updated.
  • Tests for authorized + unauthorized rotation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contractsSoroban smart contractsintermediateIntermediate difficultysecuritySecurity / safety relevant

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions