On Tue, Jul 23, 2013 at 1:04 PM, Eduardo Morras <emorr...@yahoo.es> wrote:

> Yes it is. There's a big difference between Project and Repository.
> There's the fossil project, only one, but there are lots of repositories
> and fossil project forks that aren't the main 'Fossil Project'. I don't
> want to restrict what you do with your repository or your project fork, I
> want to restrict what you can do to main Project.
>

That's the problem: my clone of your project is a first-class copy of your
project. There is essentially no distinction. If you copy goes up in flames
me can drop in my copy, re-add the users, and we're done. So here's what
happens with user restrictions:

- i clone your repo
- i edit some dir which you have restricted.
- i check it in locally (offline)
- Later i try to push to your repo and it fails. My repo is now in a state
where i can _never_ push my copy to yours ever again because pushing to
yours will fail as long as i have no access (on your side) for that file.


> No, I sync with fossil main repository each week, but I don't have
> permission to push my changes. That's because my user (anonymous) don't
> have the role to do so. If I want to push my changes I must convince
> someone who has the correct role to do so.
>

But for "partial access" ALL pushes from me to you will fail if i have
edited a file to which i cannot push. There is no "partial push" in fossil
- you can push everything or nothing. Fossil, as a piece of software, could
not possibly decide which parts of my commits are "safe" to push, and
Fossil _MUST_ fail if _any_ part of my push/sync fails because it has no
heuristic which can say, "oh, that was just that file under /noaccess/...
which you edited 3 weeks ago and is still not writable for you" (and if it
could decide that, then failing is still the proper response). The only
reasonable action Fossil can take there is to fail. How could it possibly
know which parts are "okay" and which not? How can i possibly ever recover
my repo to a sane state if you refuse to give me write access to changes i
have already made locally (but not cannot commit, leaving my repo in an
unclean/divergent state).


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to