tutus-chain/pkg/core/native/native_test
Tutus Development de34f66286 Add RoleRegistry native contract for hierarchical RBAC
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>
2025-12-20 01:35:26 +00:00
..
helpers/policyhelper Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
common_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
cryptolib_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
cryptolib_verification_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
designate_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
gas_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
ledger_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
management_test.go Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
neo_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
notary_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
oracle_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
person_token_test.go Add PersonToken native contract for soul-bound identity tokens 2025-12-19 19:04:38 +00:00
policy_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
role_registry_test.go Add RoleRegistry native contract for hierarchical RBAC 2025-12-20 01:35:26 +00:00
std_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00
treasury_test.go Update all imports from neo-go to tutus-chain 2025-12-19 14:28:17 +00:00