Skip to content

Commit

Permalink
CDD-2432 Adds permission models - set permissions default
Browse files Browse the repository at this point in the history
  • Loading branch information
mxrman committed Feb 26, 2025
1 parent 59f94da commit f6b8639
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def create_record(
permissions: list[RBACPermission] | None = None,
**kwargs,
):
permissions = permissions or []

group = cls.create(name=name, **kwargs)
# Fetch or create permissions and add them to the group
Expand Down

0 comments on commit f6b8639

Please sign in to comment.