Is it possible to make a permissions like that ?

And to add some calculations to it ?

Hmm, as an idea, would be nice to have a check against a postgres function
@webdeb Yeah it might be a better than now() + 60 * 1000.
I did seem to think there was an issue for adding custom (IMMUTABLE/STABLE) functions in authz check but I can't seem to find it. But yes, it sounds like a powerful feature. I will rename the issue if I can't find an existing issue for this.
Most helpful comment
I did seem to think there was an issue for adding custom (IMMUTABLE/STABLE) functions in authz check but I can't seem to find it. But yes, it sounds like a powerful feature. I will rename the issue if I can't find an existing issue for this.