Skip to content

Commit

Permalink
Fix superUser being wrongly marked as organization owners (#6876)
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Otto <[email protected]>
  • Loading branch information
fm3 and philippotto authored Feb 27, 2023
1 parent dd15b20 commit 7bdfa88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/user/UserService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class UserService @Inject()(conf: WkConf,
isDatasetManager = false,
isDeactivated = !autoActivate,
lastTaskTypeId = None,
isOrganizationOwner = false,
isUnlisted = isUnlisted,
created = Instant.now
)
Expand Down

0 comments on commit 7bdfa88

Please sign in to comment.