-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions as tree #93
Comments
So the Acl contains all the info to decide permissions questions, and it is already a tree. Currently it is |
Sounds about right |
Any particular reason it is |
Don't recall. If there was a reason it needs to be reevaluated now anyway. |
So looking at it some more, it seems the reason to have doc first is to be able to subscribe selectively to a doc. |
When implementing join, I can do many things using very fast radix tree ops. E.g. removing expired from the store can be done with a single tree op instead of a loop.
E.g. this loop
can be turned into this:
However, operations that involve permissions at present still involve querying permissions for every path.
It would be quite useful if we had a way to produce a tree for a permission and a peer, and then perform bulk operations for that tree. This would not change except when permissions are changed.
E.g.
The text was updated successfully, but these errors were encountered: