You don't need ```setdefault```. Just do
```
perm_data[3]['grant_on'] = grant_on
```
I think that's more readable