Reputation: 73
I have an App with private messages, the messages are stored in a directus collections, each item has multiple Attachments (files). How can I restrict access to these files for other users, that are not in the Conversation?
I have tried set up a usergroup for each conversation, but I think its not the best way to do it.
And another question, how can I set the "mine" permission on files?
Upvotes: 6
Views: 2711
Reputation: 61
I wonder if there is any option to configure the access for each folder? At least to configure on the roles that is able to view each folder.
Upvotes: 1
Reputation: 39
Now any public user can download your file.
https://your-directus.com/assets/<file-id>?download
Upvotes: 3