[Trac-tickets] [The Trac Project] #2053: next/previous changeset
links to take in account svn_authz permissions
The Trac Project
noreply at edgewall.com
Tue Sep 13 06:22:44 CDT 2005
#2053: next/previous changeset links to take in account svn_authz permissions
------------------------------+---------------------------------------------
Reporter: dragisha at m3w.org | Owner: jonas
Type: enhancement | Status: new
Priority: low | Milestone:
Component: changeset view | Version: 0.9b1
Severity: minor | Keywords: |
------------------------------+---------------------------------------------
Would be nice to expand on [2239] and former svn_authz work so changeset
browsing would be more usable. As "Next Changeset" and "Previous
Changeset" links can point to changeset where current user will get
Permission Denied when clicked, it would be good do do one of few possible
things.
* To calculate, while rendering changeset nr. XYZ, what is next and
previous changeset current user can see, and create links accordingly.
This can be expensive, and done in vain especially if it's true that most
users won't surf changesets that way;
* To create these two link as "relative" to current changeset. Maybe only
".../changeset/(next|previous" pair, if referer field is relable, or
"../changeset/XYZ/(next/previous)" if it's not reliable. That way, next
and prev would be calculated only when (and if) needed. Time spent
calculating access would be same, just spent better, as if user clicks
through next (or prev) until he gets to visible changeset. All other
resource spending involved in that "chain" clicking" would not be needed.
Other possibility is to make some other ordering scheme for changesets,
but (IMO) with isolation of projects inside bigger svn repos, simple
next/prev is all ordering we need. With this enhancement done, we can make
many smaller projects running of big svn repos, and still have no
interferences at all.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2053>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list