Implements RoleRegistry as a native contract for role-based access control that integrates with PersonToken for democratic governance. Key features: - Built-in roles: COMMITTEE, REGISTRAR, ATTESTOR, OPERATOR - Hierarchical roles with parent inheritance - Permission system (resource/action/scope tuples) - CheckCommittee() method for admin authorization - TutusCommittee config for initial committee members PersonToken integration: - Added RoleRegistry field for cross-contract calls - checkCommittee helper delegates to RoleRegistry with NEO fallback 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| names.go | ||