Topic/mobile perms

Given the comment above that you intend for this module to be expanded to support other types, I would alter this section to be something like:
```python
if isinstance(thing, InstanceUser):
    ...
elif isinstance(thing, Role):
    ...
else:
    raise UnsupportedException()
```