Skip to content

Commit

Permalink
Merge pull request #8 from OpenMined/aziz/perms
Browse files Browse the repository at this point in the history
[wip] use new perms
  • Loading branch information
teo-milea authored Jan 29, 2025
2 parents c3a6f83 + fc55901 commit 87abe88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def add_public_write_permission(client: Client, path: Path) -> None:
"""
Adds public write permission to the given path
"""
permission = SyftPermission.mine_with_public_write(client.email)
permission = SyftPermission.mine_with_public_write(context=client, dir=path)
permission.ensure(path)


Expand Down

0 comments on commit 87abe88

Please # to comment.