Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Replace OwnableUpgradeable with AccessControlUpgradeable for safer admin control #892

Open
alainncls opened this issue Jan 31, 2025 · 0 comments

Comments

@alainncls
Copy link
Collaborator

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.
@alainncls alainncls converted this from a draft issue Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for development
Development

No branches or pull requests

1 participant