Hide collections to specific role user

Hello, mates

I have a dude, is possible show a specific collection (by ´collection_id´ maybe) in the Dashboard Tainacan Admin and the view of Repository Collections? I’ve used ‘Tainacan User Roles’ to set the capabilities but I’d like to know if is possible this thing that I wondering.

Regards!

Hi @erickml!

The options that you’ll find in the ‘Tainacan User Roles’ screen are mostly related to what the user can do with stuff in the repository. For example, you can there disable the ability of a user editing or deleting collections and then enable it in a per-collection basis.

This does not affect however the visibility of a collection. The user may see the collection in the admin side if the collection is published, doesn’t mean he or she will be able to edit. For controlling visibility, you use the status. So if a collection should only be seen by a set of users, you must define the collection as private. Then you can in the Tainacan User Roles form, disable that user capability of viewing private collections.