69570 sc low users cannot revoke migration approvals for removed migrators contrary to what the docs says
Description
staking.setMigrationPermit(migratorAddress, false);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
Recommended Mitigation
Proof of Concept
Previous69747 sc low broken migration permit revocation allows stale user consent to reactivate after migrator role is re grantedNext69527 sc low users cannot revoke migration authorization after migrator role removal
Was this helpful?