I am struggling a bit to understand why this is ha...
# spicedb
n
I am struggling a bit to understand why this is happening. This is what I want, A company has employees and contractors who create several kinds of documents for the customers. Documents such as Invoices, Receipts, Reports, etc. No one can edit these documents. The only possible option is to mark them invalid and send a new one, which can be performed only by the creator of the document. If an employee/contractor is removed from the company, they lose access to all the documents they created A company also has admins and an owner, both should be allowed to view all the documents created by their employees and contractors. The problem I am facing with my schema is that when I test it on the playground, under the Expected Relations everything works the way I want it to, admins and owners are listed as viewers of a document but under Assertions, admins viewing a document of the company is evaluated to false https://cdn.discordapp.com/attachments/844600078948630559/1400070164745289828/image.png?ex=688b4c73&is=6889faf3&hm=2cec6c973f9e9225c593cec63caf4b92199a023ced65015442ad3e1edbd8a474& https://cdn.discordapp.com/attachments/844600078948630559/1400070165047148586/image.png?ex=688b4c73&is=6889faf3&hm=96c995c97a175fe60f178136a71c96796b9667383d7383674dffcec5f9f07118& https://cdn.discordapp.com/attachments/844600078948630559/1400070165315457144/authzed-download-company-version.yaml?ex=688b4c73&is=6889faf3&hm=66c0f6699ec4aeeb0e4cca8f3433f11c0850f1dd5514ed88a762405ad6321355&