Convert PermissionResource to DRF (bug 910548)