Created
January 17, 2024 21:00
-
-
Save francium-lupe/2a48a83be56c8e3ebf351896213d65bf to your computer and use it in GitHub Desktop.
(ReBAC) in Node.js 6
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_role', // Fact type | |
{ type: 'User', id: 'Bill' }, // Actor | |
'editor', // Role | |
{ type: 'Issue', id: 'tps-reports-99' } // Resource | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment