Skip to content

feat(sdk): add init_rbac deployment step assigning initial SuperAdmin - #842

Open
OG-wura wants to merge 1 commit into
BCPathway:mainfrom
OG-wura:Update_deployment_script
Open

feat(sdk): add init_rbac deployment step assigning initial SuperAdmin#842
OG-wura wants to merge 1 commit into
BCPathway:mainfrom
OG-wura:Update_deployment_script

Conversation

@OG-wura

@OG-wura OG-wura commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Adds grantSuperAdmin/revokeSuperAdmin/hasRole/initRbac to bcForgeClient so deployments can bootstrap RBAC right after initialize: migrate_admin plus a grant_role(SuperAdmin) transaction. Roles are serialized as symbol ScVals for on-chain compatibility (fixes the string encoding used by grantMinter and revokeMinter). Adds mock parity, unit tests, a superAdmin config parameter for the CLI, and deployment documentation.

Closes #760

Adds grantSuperAdmin/revokeSuperAdmin/hasRole/initRbac to bcForgeClient so
deployments can bootstrap RBAC right after initialize: migrate_admin plus a
grant_role(SuperAdmin) transaction. Roles are serialized as symbol ScVals for
on-chain compatibility (fixes the string encoding used by grantMinter and
revokeMinter). Adds mock parity, unit tests, a superAdmin config parameter for
the CLI, and deployment documentation.

Closes BCPathway#760

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@OG-wura Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs & Polish] Update deployment script for RBAC init

1 participant