Difficulty
Hard
Type
Feature / Security
Background
Access evaluation is one of the core capabilities of GuildPass. It must produce predictable decisions based on membership, roles, Pass ownership, and configured policies.
Problem
There is currently no V2 access-control engine with a stable request and decision model.
Expected Outcome
Core exposes deterministic access evaluation with explainable results that can be consumed through the SDK and integrations.
Suggested Implementation
Define an access request similar to:
{
guildId,
account,
resource?,
action?
}
Define a deterministic result similar to:
{
allowed: boolean,
reason: string
}
Implement initial policy evaluation for:
- Guild membership.
- Member roles.
- Pass ownership/eligibility abstraction.
- Combined policy requirements.
Keep blockchain ownership resolution behind an interface so the engine can initially be tested without Soroban.
Acceptance Criteria
Likely Affected Files/Directories
src/access/
src/services/access/
src/domain/
src/errors/
test/
Difficulty
Hard
Type
Feature / Security
Background
Access evaluation is one of the core capabilities of GuildPass. It must produce predictable decisions based on membership, roles, Pass ownership, and configured policies.
Problem
There is currently no V2 access-control engine with a stable request and decision model.
Expected Outcome
Core exposes deterministic access evaluation with explainable results that can be consumed through the SDK and integrations.
Suggested Implementation
Define an access request similar to:
Define a deterministic result similar to:
Implement initial policy evaluation for:
Keep blockchain ownership resolution behind an interface so the engine can initially be tested without Soroban.
Acceptance Criteria
Likely Affected Files/Directories
src/access/src/services/access/src/domain/src/errors/test/