Skip to content

Commit

Permalink
Merge pull request #366 from TeskaLabs/patch/resource-list-access
Browse files Browse the repository at this point in the history
Fix flak8
  • Loading branch information
byewokko authored Apr 23, 2024
2 parents 67b5fdd + cf4fcde commit 0031a1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## v24.06

### Pre-releases
- `v24.06-beta5`
- `v24.06-beta6`
- `v24.06-alpha11`
- `v24.06-alpha10`
- `v24.06-beta3`
Expand All @@ -23,8 +23,8 @@
- Disable special characters in tenant ID (#349, `v24.06-alpha6`)

### Fix
- Fix resource initialization (#365, `v24.06-beta5`)
- Remove seacat:resource:access authorization (#365, `v24.06-beta5`)
- Fix resource initialization (#365, `v24.06-beta6`)
- Remove seacat:resource:access authorization (#365, `v24.06-beta6`)
- Better TOTP error responses (#352, `v24.06-alpha10`)
- Fix resource editability (#355, `v24.06-alpha9`)
- Make FIDO MDS request non-blocking using TaskService (#354, `v24.06-alpha8`)
Expand Down
4 changes: 2 additions & 2 deletions seacatauth/authz/resource/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ async def _ensure_builtin_resources(self):
continue

if (
(db_resource.get("managed_by") != "seacat-auth")
or (description is not None and db_resource.get("description") != description)
(db_resource.get("managed_by") != "seacat-auth")
or (description is not None and db_resource.get("description") != description)
):
await self._update(db_resource, description, is_managed_by_seacat_auth=True)

Expand Down

0 comments on commit 0031a1f

Please sign in to comment.