J Decker <d3c...@gmail.com> writes:

> syncing with 0.47 server results on the client
> mtn.EXE: warning: protocol error while processing peer <hostname>:
> 'received network error: denied
> 'c64200903a4402fff7dcf6343d0290dfbecb5713' write permission for '*'
> excluding '''
>
> doing a quick serch for 'monotone sync 0.47' comes up with
>
> http://osdir.com/ml/debian-bugs-dist/2010-03/msg06590.html
>
> I had to modify my server's monontonerc to return true for
> get_netsync_read_permitted and get_netsync_write_permitted...
> otherwise, even though the key is listed as
>
> if( identity == "u...@host.com" ) then return true end
>
> it doesn't allow the user read or write permission.

See http://www.monotone.ca/docs/Hooks.html#Hooks section 6.1.1; it
describes the format of a key_identity, which is now a table.

So your test should be 

if( identity.given_name == "u...@host.com" ) then return true end

or maybe identity.name

This changed in 0.45

-- 
-- Stephe


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to