fix: fix time bug in gen-archive-tuples
This commit is contained in:
@@ -5,8 +5,8 @@ psql="psql -d app -t -A -F',' -c"
|
||||
query="$k $psql"
|
||||
|
||||
h="user_type,user_id,relation,object_type,object_id,condition_name,condition_context"
|
||||
term="\"{\"\"start_time\"\": \"\"2025-01-01T00:00:00Z\"\", \"\"end_time\"\": \"\"2025-01-01T01:00:00Z\"\"}\""
|
||||
ticket="\"{\"\"tasks\"\": [ \"\"*\"\" ], \"\"quota\"\": \"\"-1.0\"\", \"\"start_time\"\": \"\"2025-01-01T00:00:00Z\"\", \"\"end_time\"\": \"\"2025-01-01T01:00:00Z\"\"}\""
|
||||
term="\"{\"\"start_time\"\": \"\"2025-01-01T00:00:00Z\"\", \"\"end_time\"\": \"\"2025-01-01T00:00:00Z\"\"}\""
|
||||
ticket="\"{\"\"tasks\"\": [ \"\"*\"\" ], \"\"quota\"\": \"\"-1.0\"\", \"\"start_time\"\": \"\"2025-01-01T00:00:00Z\"\", \"\"end_time\"\": \"\"2025-01-01T00:00:00Z\"\"}\""
|
||||
|
||||
# principal of primary archives
|
||||
$query "select a.archive_id from archives as
|
||||
|
||||
@@ -7,4 +7,9 @@ pkgs.mkShell {
|
||||
FGA_API_URL = "https://openfga.dev.oceanbox.io";
|
||||
FGA_STORE_ID = "01JKTQKHSGJH4RW04WFVCPWNTE";
|
||||
FGA_MODEL_ID = "01JKTQMXBE7219XRYE3NGYNXSR";
|
||||
# FGA_API_URL = "https://openfga.srv.oceanbox.io";
|
||||
# FGA_STORE_ID = "01JKTZXMP7ANN4GG2P5W8Y56M6";
|
||||
# FGA_MODEL_ID = "01JKTZYMCZZBVSBG66W27XMW0A";
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user