Skip to content

SWI-450: Reject duplicate authority in Add authority - #155

Open
santy311 wants to merge 4 commits into
mainfrom
santhosh/SWI-450-reject-duplicate-roles
Open

SWI-450: Reject duplicate authority in Add authority#155
santy311 wants to merge 4 commits into
mainfrom
santhosh/SWI-450-reject-duplicate-roles

Conversation

@santy311

Copy link
Copy Markdown
Collaborator
  • Iterate existing roles once before realloc and return "DuplicateAuthority" if any role already stores the same authority bytes and authority type.
  • Added test cases for the same

santy311 added 3 commits May 12, 2026 23:47
- Iterate existing roles once before realloc and return "DuplicateAuthority" if any role already stores the same authority bytes and authority type.
- Added test cases for the same
@santy311
santy311 requested a review from edo-chan May 12, 2026 19:08
@edo-chan
edo-chan requested a review from tracy-codes May 13, 2026 00:15
Comment thread program/src/actions/add_authority_v1.rs Outdated
Comment thread program/src/actions/add_authority_v1.rs Outdated
@santy311
santy311 requested a review from tracy-codes May 13, 2026 14:40
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.

2 participants