This needs to be:
```python
permissions = self.permissions.get(method, [])
```