One thing you can do is put these into the mixin and then use `__getattr__`. Then you don't need to create a dict. Then adding a new permission just involves adding a new method to the mixin that has a certain kind of name.