How to restrict file access in a REST API with RBAC
I am building a REST API. In this API users can upload files in different ways such as sending tickets to a help desk with attachments, sending files via private messages, and etc. Obviously some files are private and some are public. priv…