happner / happn-3

2 stars 3 forks source link

permissions lookup optimisations #313

Closed southbite closed 4 years ago

southbite commented 4 years ago

The permissions lookup is not scaling as we are using a linear walk through the permissions to check if someone is allowed to access a resource. permissions must be merged into a tree to ensure we are doing less recursion to look permissions up.