Why not add support for a singular permission instead of just a list? e.g.
```python
if not isinstance(permissions, list):
    permissions = [permissions]
```