Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

aviate-labs/auth.mo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Users with Roles

Role management, made simple (?).

Motivation

I think everyone is familiar with assert(caller == owner). Yet, after a while these assertions can become somewhat complex, especially when you have a role system for administrators. I always ended up writing assertions in various projects with the same logic behind it. So, here it is, a package.

I don't know if it is of any use... but feel free to use it or even improve the code by opening a PR.

About

Role Management in Motoko

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors