ufal / lindat-kontext

An alternative web front-end for the Manatee corpus search engine
GNU General Public License v2.0
5 stars 1 forks source link

corplist: hidden corpora (in addition to anonymous and authenticated) #230

Open Ansa211 opened 5 years ago

Ansa211 commented 5 years ago

Based on user's access rights, we distinguish corpora of two kinds, "anonymous" and "authenticated". We also need a "hidden" variant, i.e. a possibility to hide a corpus from corplist and all the menus but to make it accessible by anyone with a direct link (possibly only after logging in). This would be useful not just for outdated versions, but also for end-of-year reports on projects in progress - we have such a case right now where we only want to share a corpus with the institution giving us money.

kosarko commented 5 years ago

technically you can set any group (in addition to "anonymous" & "authenticated") in the corplist; then you either need to provide a mapping from shibboleth attributes to this group or set the group for a particular user in the database. see #120.

The idea was to always show all the corpora, even the restricted.

Does the ucnk corparch support any form of hiding? We could reuse that...