Skip to content

Commit

Permalink
Merge branch 'main' of github.com:permitio/permit-python into gabriel…
Browse files Browse the repository at this point in the history
…/per-8596-python-sdk-add-support-for-bulk-check
  • Loading branch information
obsd committed Jan 1, 2024
2 parents 4a6b1ec + e2f593e commit b17485d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions permit/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2127,6 +2127,11 @@ class Config:
description="optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator",
title="Attributes",
)
extends: Optional[List[str]] = Field(
None,
description="list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.",
title="Extends",
)
granted_to: Optional[DerivedRoleBlockEdit] = Field(
None,
description="Derived role that inherit will be applied on this role",
Expand Down Expand Up @@ -2154,6 +2159,11 @@ class Config:
description="optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator",
title="Attributes",
)
extends: Optional[List[str]] = Field(
[],
description="list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.",
title="Extends",
)
granted_to: Optional[DerivedRoleBlockRead] = Field(
None,
description="Derived role that inherit will be applied on this role",
Expand Down Expand Up @@ -2222,6 +2232,11 @@ class Config:
description="optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator",
title="Attributes",
)
extends: Optional[List[str]] = Field(
None,
description="list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.",
title="Extends",
)
granted_to: Optional[DerivedRoleBlockEdit] = Field(
None,
description="Derived role that inherit will be applied on this role",
Expand Down Expand Up @@ -2408,6 +2423,11 @@ class Config:
description="optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator",
title="Attributes",
)
extends: Optional[List[str]] = Field(
None,
description="list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.",
title="Extends",
)
granted_to: Optional[DerivedRoleBlockEdit] = Field(
None,
description="Derived role that inherit will be applied on this role",
Expand Down Expand Up @@ -2442,6 +2462,11 @@ class Config:
description="optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator",
title="Attributes",
)
extends: Optional[List[str]] = Field(
[],
description="list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.",
title="Extends",
)
granted_to: Optional[DerivedRoleBlockRead] = Field(
{},
description="\n A derived role defintion block, typically contained whithin a role definition.\n The derived role is a role that is derived from the role definition.\n ",
Expand Down Expand Up @@ -2500,6 +2525,11 @@ class Config:
description="optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator",
title="Attributes",
)
extends: Optional[List[str]] = Field(
None,
description="list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list.",
title="Extends",
)
granted_to: Optional[DerivedRoleBlockEdit] = Field(
None,
description="Derived role that inherit will be applied on this role",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def get_requirements(env=""):

setup(
name="permit",
version="2.1.0",
version="2.1.1",
packages=find_packages(),
author="Asaf Cohen",
author_email="[email protected]",
Expand Down

0 comments on commit b17485d

Please sign in to comment.