On Dec 31, 2009, at 3:46 PM, Jeremy Cowgar wrote:
>
> Ok, I see what you are saying. I wonder if the "history" capability  
> would be better named as "show links" or something along those  
> lines? To me the timeline shows history. The current use of  
> "history" doesn't seem to be intuitive.
>
> I see you made some changes in a more recent commit, what does your  
> method do?
>
> "Alternative implementation of timeline security changes - this  
> implementation always shows the timeline link if it is applicable,  
> even if the history capability is disabled."
>
> Specifically, what do you mean always show the timeline link if it  
> is applicable?
>
> The final result I was after was to allow someone to view the  
> timeline but not a certain part of it, mainly source code. In my  
> particular situation I use fossil with some open source projects and  
> also at work. I've not used the ticket system built into fossil with  
> my work because I did not want other employees/co-workers to have  
> access to the source code. So, with my change (and probably yours  
> also) you have enough security control to show the timeline but  
> depending on your security you may not see checkin history, wiki  
> history or ticket history.
>
> From reading your diff it seems that yours does the same (and more  
> eloquently) but I don't understand what you mean always show the  
> timeline.


The Timeline link on the menubar is moved to the left so that it is  
now the second from the left.  This seems a better place, to me.  I  
also arranged for the File menubar option to only appear if the user  
has both "history" and "check-out" privileges.

The Timeline menubar link appears if the user has any of "check-out",  
"read-wiki", or "read-ticket".  Only those lines of the timeline that  
are appropriate for the user's capabilities are shown.  So if you set  
up a user to have read-ticket capability, but not check-out, they will  
only see tickets in the timeline, and not check-ins.  That's what you  
wanted, right?


D. Richard Hipp
[email protected]



_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to