69936 sc low users cannot revoke migration permits once the migrator s role has been revoked
Description
Brief/Intro
Vulnerability Details
function setMigrationPermit(address _migrator, bool _isMigrationPermitted) external {
if (!hasRole(MIGRATOR_ROLE, _migrator)) revert MigratorNotFound(_migrator);
migrationPermits[_migrator][msg.sender] = _isMigrationPermitted;
emit MigrationPermitUpdated(_migrator, msg.sender, _isMigrationPermitted);
}Impact Details
References
Recommendation
Proof of Concept
PoC Code
Test Result
Previous69673 sc low users cannot revoke a migration permit after role removalNext69663 sc low users cannot revoke previously granted migration permit after migrator role is revoked
Was this helpful?