Hi Johnny,
In data venerdì, 11 maggio 2012 10.15:28, Johnny Mariéthoz ha scritto:
> is it possible to hide restricted collections for non-authorized users?
>
> If not, do you think it is possible to implement or difficult for
performance reasons?
this is currently not easy to implement because you would need to hide
collections in two places: splash pages generated offline by webcoll and the
dropdown menu list of collections in advanced search. The latter being very
easy to implement, the former being somehow an issue for performance.
One possible implementation would be indeed that webcoll generates splash
pages assuming guest users (and hiding restricted collections), while on-the-
fly rendering of splash pages would be used for authenticated users. This
would somehow have a penalty on performances.
This behaviour could be made tunable by a new flag in invenio.conf so that
admins could choose to trade speed for security (through obscurity (-: ).
Best regards,
Samuele
P.s. I created a ticket for this functionality:
http://invenio-software.org/ticket/1057
--
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>