-
Notifications
You must be signed in to change notification settings - Fork 20
Labels
backendRelated to the application backendRelated to the application backendenhancementNew feature or requestNew feature or requesttodoA task to be completedA task to be completed
Description
Description
Currently, access control is done via calculating a set of accesible notes and comparing notes with that. This does not scale. Instead, we could switch to a method that makes use of bit-vectors to calculate access levels.
Example
- Each entity has a field
access_idwhich stores its index in the access control vector - Each note has a dynamically calculated
access_levelvalue which is a Bit-Vector. (Possibly Propagated to Relationships) - Every time a query is made, an access control vector is calculated for the user (readable entities 1, non-readable 0)
- This access vector is compared with the user's vector (similar to vector clocks)
Priority
- High
- Medium
- Low
Environment
- Component: Backend
- Version: v1.X.X
Expected Outcome
Faster query times for graph operations.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendRelated to the application backendRelated to the application backendenhancementNew feature or requestNew feature or requesttodoA task to be completedA task to be completed