Another solution, which does not need to change the attribute it:
```python
for perm in widget.permission_required:
  if request.user.has_perm(perm):
    break
else:
  continue
```