monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Using monotone in a team


From: Brian May
Subject: Re: [Monotone-devel] Re: Using monotone in a team
Date: Thu, 30 Nov 2006 12:30:43 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)

>>>>> "Boris" == Boris  <address@hidden> writes:

    Boris> Question: There is no way (and I assume no need) to set
    Boris> write-permissions per user? I don't see anything in the
    Boris> documentation that I can use pattern and allow in
    Boris> write-permissions, too?

I would assume you would need to do this, for each user, by overriding
the get_revision_cert_trust hook.

If multiple users have different projects with different policies,
this could get awkward.

I think there is a proposal to solve this issue, if I got to the bottom of
http://www.venge.net/monotone/wiki/TrustFoundations I see:

"Mechanisms to automate this, and allow delegation to a 'project
authority' for common VersionedPolicy statements that affect trust
evaluation are the next major development focus."

If I click on the link to
http://www.venge.net/monotone/wiki/VersionedPolicy though, I get lost.

    Boris> Now junior developers work on their own branch while senior
    Boris> developers can change code in the main branch
    Boris> directly. From time to time a senior developer checks the
    Boris> junior branch.

    Boris> 1) Let's say everything is all right. He can then propagate
    Boris> changes from the junior to the main branch and vice versa?
    Boris> 2) Let's say the senior developer doesn't like the last
    Boris> revision. Then he can disapprove it and revert it to the
    Boris> previous revision?  3) Let's say he uses the approve
    Boris> command which adds a certificate to the revision. How
    Boris> exactly can this new certificate be used?

    Boris> I especially wonder about option #3. Is there some
    Boris> automatic support for approvals or is this something which
    Boris> must be implemented in hook functions?

I believe the get_revision_cert_trust does this.
-- 
Brian May <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]