Silva needs a user_root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Won't Fix
|
Low
|
Unassigned |
Bug Description
One thing I've noticed in the workshops recently is a problem in the navigation
when Author/Editors are logged in on a lower level than the Silva root. Both the
tabs and the breadcrumb trail contain links to places they can't go, higher in
the tree.
This goes against our policy of not showing interface elements that can't be
used (if there's nothing to delete, don't show the delete button).
We need to develop navigation that checks for accessibility. If an Author can't
go higher in the tree, we shouldn't provide links. It's very confusing, because
when an Author does (intentionally or inadvertently) click such a link, the
system presents a login prompt. The Author can't log in, eventually cancels, and
then looks at an error page and asks, "What do I do now?"
This will add some overhead, but it's very important. Maybe we can store it in
the session? (And, if the session expires, quietly restore the user_root). Or in
a dynamic template variable?
This is what I ment with the setting the start point of the breadcrumb in issue
491. At least in a virtual host environment deep in the silva tree nothing
happens when a user clicks on links on highre levels. I guess fixing this issue
automatically fixes the above.