Skip to content

Commit

Permalink
make set json serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
ridoo authored Oct 15, 2024
1 parent 33c05c9 commit bea90f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/people/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def perms(self):
if config.read_only:
# exclude permissions affected by readonly
perms = [perm for perm in perms if perm not in READ_ONLY_AFFECTED_PERMISSIONS]
return perms
return list(perms)

def save(self, *args, **kwargs):
super().save(*args, **kwargs)
Expand Down

0 comments on commit bea90f0

Please sign in to comment.