To mitigate the risk of unintended ownership transfers with OwnableUpgradeable, we have decided to switch to AccessControlUpgradeable. This allows for granular role-based permissions, reducing reliance on a single owner and eliminating the risk of immediate loss of control due to a mistaken address.
Rationale:
Ownable2StepUpgradeable was considered but is not storage-compatible with OwnableUpgradeable.
AccessControlUpgradeable provides more flexibility and better security for admin tasks.
Next Steps:
- Implement role-based access using
AccessControlUpgradeable.
- Ensure a smooth migration with no storage conflicts.