hasura / hasura/graphql-engine
Permission need some minutes to take effect.
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
### Version Information
Server Version:
2.15.2
### Environment
OSS
### What is the current behaviour?
I did below actions.
- set permission to test table, that judge the record is valid by valid_end timestamp.
- set now() to valid_end
- query the table as user
- query return a record
- after some time, query return empty record
### What is the expected behaviour?
Query always returns empty record then valid_end is past.
### How to reproduce the issue?
1. create table with valid_end
2. add permission to the table that check whether valid_end is past or not.
3. set now() to valie_end
4. query the table
migration file
[1688078177116_create_table_public_test.zip](https://github.com/hasura/graphql-engine/files/11911209/1688078177116_create_table_public_test.zip)
metadata file
[public_test.yaml.zip](https://github.com/hasura/graphql-engine/files/11911215/public_test.yaml.zip)
### Screenshots or Screencast
https://github.com/hasura/graphql-engine/assets/112617635/3330f11e-b081-429a-baca-8139d4fa87e7
Contributor guide
Assessment
This issue has not been assessed yet.