Skip to content

Conversation

@maya-barak
Copy link
Contributor

No description provided.

params.update(dict(user=user))
if role is not None:
params.update(dict(role=role))
if tenant is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing resource condition

Comment on lines +68 to +69
class SyncEnforcer(PdpApi, metaclass=SyncClass):
pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

resource_instance: Optional[str] = None,
page: int = 1,
per_page: int = 100,
) -> dict:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No schema ?

Usage example:
permit = Permit(token
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing rest of the line



async def test_permission_check_e2e(permit: Permit):

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

logger.info("testing bulk permission check")
assert (
await permit.bulk_check(
await permit.pdp_api.list_role_assignment(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why changing this

Copy link
Contributor

@RazcoDev RazcoDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some major comments - also, no interfaces ?

@danyi1212 danyi1212 closed this Apr 29, 2025
@danyi1212 danyi1212 reopened this Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants