forked from windmill-labs/windmill
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: secure suspended resume event + configurable timeout (windmill-…
…labs#721) * fix suspend count for early message + delete resume_job * all * done everything * done everything
- Loading branch information
1 parent
9acee22
commit ff7fb0f
Showing
16 changed files
with
563 additions
and
684 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,14 @@ INSERT INTO workspace | |
(id, name, owner, domain) | ||
VALUES ('test-workspace', 'test-workspace', 'test-user', null); | ||
|
||
INSERT INTO usr(workspace_id, email, username, is_admin, role) VALUES | ||
('test-workspace', '[email protected]', 'test-user', true, 'Admin'); | ||
|
||
INSERT INTO workspace_key(workspace_id, kind, key) VALUES | ||
('test-workspace', 'cloud', 'test-key'); | ||
|
||
GRANT ALL PRIVILEGES ON TABLE workspace_key TO windmill_admin; | ||
GRANT ALL PRIVILEGES ON TABLE workspace_key TO windmill_user; | ||
|
||
CREATE FUNCTION "notify_insert_on_completed_job" () | ||
RETURNS TRIGGER AS $$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.