Created
January 17, 2024 22:23
-
-
Save francium-lupe/aa7f9be58ae88b1f7ec091fe8900970a to your computer and use it in GitHub Desktop.
(ReBAC) in Node.js 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await oso.tell( | |
'has_relation', // Fact type | |
{ type: 'Issue', id: 'tps-reports-99' }, // Resource | |
'creator', // Relation | |
{ type: 'User', id: 'Peter' } // Actor | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment