On Sat, Jun 6, 2009 at 10:38, Vincent
Massol<vincent(a)massol.net>
wrote:
Hi everyone,
Current situation
=============
Right now we have 2 mechanisms in place:
- hidden docs. These is done deep at the storage level and hidden
docs
don't appear in any HQL queries. This is
- $blacklistedSpaces in xwikivars.vm which is used (or not!, that's
the problem) in some wiki pages (AllDocs, Search, Dashboard, etc)
Need
====
We have a need for blacklisted/hidden docs and spaces. This is
different than rights. This is just for presentation purpose.
The need I see is:
- guest and simple users should not see blacklisted/hidden docs and
spaces
- advanced users and admin should see them
(Note: I'm not sure we have a need to blacklist docs/spaces for
everyone including admins as it's currently done for hidden docs)
I think I
would prefer each user to be able to indicate if he wants
filtering or not by default and it should be very easy to switch from
a mode to another, like when we search for something not having to go
to our user profile change some configuration and then return to
search to see hidden doc and them reset the hidden mode... For me this
has nothing to do with rights or types of users, this could be used to
find the DEFAULT value of the hidden mode but not THE value.
I really don't want to add more complexity for users. We already have
the notion of simple/advanced users and this use case fits perfectly
with that notion. Simple users should never see hidden docs/spaces
since those are for developers.