Skip to content

Commit

Permalink
update select for agent
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Oct 10, 2024
1 parent 5e164e8 commit fe51fb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/core_concepts/28_agent_workers/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ GRANT SELECT, UPDATE, INSERT on dependency_map to agent;
GRANT SELECT, UPDATE on flow to agent;
GRANT SELECT, UPDATE on flow_version to agent;
GRANT SELECT, UPDATE on schedule to agent;
GRANT SELECT (hostname, log_ts) ON log_file TO agent;

CREATE POLICY agent ON queue TO agent USING (tag = '<x>' OR tag = '<y>');
CREATE POLICY agent ON script TO agent USING (tag = '<x>' OR tag = '<y>');
Expand All @@ -60,6 +61,7 @@ CREATE POLICY agent
TO agent
WITH CHECK (true);


```

Note that `<x>` and `<y>` need to be replaced with the exact job tags this agent is meant to be using.
Expand Down

0 comments on commit fe51fb1

Please sign in to comment.