Skip to content

fix: is_screener returns false for the admin despite admin being treated as an implicit screener #1109

Description

@sanmipaul

require_screener_or_admin lets the admin call submit_screening_result without being in the Screener registry, but is_screener(admin) only checks DataKey::Screener and returns false, misleading integrators gating UI/logic on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsmart-contractSoroban/Rust contract work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions