Skip to content

Commit

Permalink
fix permissions for public register creation
Browse files Browse the repository at this point in the history
  • Loading branch information
loziniak committed Sep 4, 2023
1 parent d3c0dd9 commit 5f581b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_client/src/register.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl ClientRegister {
meta: XorName,
verify_store: bool,
) -> Result<Self> {
let mut reg = Self::create_register(client, meta, Permissions::new_owner_only())?;
let mut reg = Self::create_register(client, meta, Permissions::new_anyone_can_write())?;
reg.sync(verify_store).await?;
Ok(reg)
}
Expand Down

0 comments on commit 5f581b1

Please sign in to comment.