Conditions using attributes from relationships #549
Taylor-Mudd-9fin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey folks, I wanted to suggest a feature that would really help us out, alternatively if there's a nicer way to model this currently please do shout!
I have an example scenario
Now what we want to model is a user losing access to a folder should retain access to the files within it up to the point of access expiration.
We've looked at doing this by putting a condition on the folder access with the date they lost access and can correctly enable/disable access to the folder based on current date using that.
We've experimented and can store the date the file was created, but what we can't do is the specific file access part. I believe this is because you can't use a condition where the contextual tuple lives on a relation?
Is this something that could be considered for addition, or there another way to model this?
NB: Our fallback is granting direct access to each resource when access is lost but we're a little afraid of our tuple count exploding so exploring other options
All reactions