What is the best way to create user defined roles and apply ACL dynamically on controllers in Sail.js?

What is the best way to create user defined roles and apply ACL dynamically on controllers in Sail.js ?