Neat idea, you might be able to quickly throw together a really compelling proof-of-concept by building off of <a href="https:&#x2F;&#x2F;github.com&#x2F;RolifyCommunity&#x2F;rolify" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RolifyCommunity&#x2F;rolify</a>, which seems to strike a nice balance of opinionated, flexible, and doing a fair amount of work for you (IE it gets involved in &#x2F; takes care of the db data modeling).