solidstate-solidity icon indicating copy to clipboard operation
solidstate-solidity copied to clipboard

Request: Add support for a general role based access control mechanism

Open amartinezuy opened this issue 3 years ago • 4 comments

Currently, SolidState provide access control through the Ownable contract.

This is enough for many applications. But some advanced use cases would benefit from a customizable mechanism for role based access control.

The Access Control implementation by OpenZeppelin may serve as an inspiration for implementing a similar a mechanism in SolidState.

amartinezuy avatar Dec 30 '21 18:12 amartinezuy

Would love to see this implemented as well

friskyfoxdk avatar Apr 23 '22 17:04 friskyfoxdk

I will try to prioritize this a bit more, though it will still take some time. Would accept a PR in the meantime.

ItsNickBarry avatar Apr 23 '22 18:04 ItsNickBarry

I'll take a swing at it this week 👍

friskyfoxdk avatar Apr 25 '22 11:04 friskyfoxdk

iam-dev:feature/AccessControl-#63

still need testing thou

iam-dev avatar May 10 '22 19:05 iam-dev

Implemented in #95 and released in version 0.0.42. Thanks @iam-dev.

ItsNickBarry avatar Sep 22 '22 16:09 ItsNickBarry