feat: RBAC authentication contract and role library#580
Conversation
|
looks like a flaky test. is there a re-run option? |
|
Thanks @shrugs! I was thinking of having
I understand the motivation, but I think I prefer |
Do you mean events as in e.g. |
|
@frangio what do you think about making RBAC ownable, but using its own access control scheme? i.e., not using I'll add the events 👍 |
|
Although, how important is the We can either keep track of the and users can see if a specific address is owner by calling |
|
Hm, okay, it might be a bit weird/confusing to have two different permission mechanisms in one contract (Ownable + RBAC). Let's not worry about matching the Ownable interface, and just have a specific role who can add and remove addresses from roles. Since we're deviating from Ownable, how about calling the role: I'm guessing this means making |
|
If we're going to bake in the ability for admin's to add/remove roles, there are two api surfaces; the internal, no-constraint CRUD operations and the So I've added I also rebased on master. |
|
NO longer interest
|
|
@frangio I've updated the event names and tested them, as well as rebasing on master to include the recent changes |
|
Great! I'm ready to merge once the linter errors are fixed. 😃 |
|
😅 good catch; I should set up a precommit hook instead of hoping my editor catches it. |
|
Hehe. We should look into how to make that easy for other developers too. 🙂 Thanks @shrugs! |
|
Xxcccc
…On4 December 2017 23:30:47 GMT+08:00, Francisco Giordano ***@***.***> wrote:
Merged #580.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#580 (comment)
|
feat: RBAC authentication contract and role library
Questions