Near-One / near-plugins

Implementation of common patterns used for NEAR smart contracts.
Creative Commons Zero v1.0 Universal
27 stars 12 forks source link

Add fn acl_init_super_admin to trait AccessControllable #25

Closed mooori closed 1 year ago

mooori commented 1 year ago

Contract developers need some way to add an initial super-admin. Having a method for that in the trait (opposed to calling a method on an internal type) makes documentation and examples simpler.

CC @mfornet since we discussed this offline.