Skip to content

Commit e43c298

Browse files
authored
add nda approval group (#2461)
1 parent b7bf133 commit e43c298

56 files changed

Lines changed: 1863 additions & 67 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.task/checksum/generate-ent-smart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e4e3b3b75c00780d5391eb44d2df9ca4
1+
1acbb24645ec24baa59407dd87401b26
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7316c14ebec1fb2f7aa3526426a41510
1+
16e43f7a7ec18f2f2990fd51993536c
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- +goose Up
2+
-- modify "trust_center_settings" table
3+
ALTER TABLE "trust_center_settings" ADD COLUMN "nda_approver_group_id" character varying NULL, ADD CONSTRAINT "trust_center_settings_groups_nda_approver_group" FOREIGN KEY ("nda_approver_group_id") REFERENCES "groups" ("id") ON UPDATE NO ACTION ON DELETE SET NULL;
4+
5+
-- +goose Down
6+
-- reverse: modify "trust_center_settings" table
7+
ALTER TABLE "trust_center_settings" DROP CONSTRAINT "trust_center_settings_groups_nda_approver_group", DROP COLUMN "nda_approver_group_id";
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- +goose Up
2+
-- modify "trust_center_setting_history" table
3+
ALTER TABLE "trust_center_setting_history" ADD COLUMN "nda_approver_group_id" character varying NULL;
4+
5+
-- +goose Down
6+
-- reverse: modify "trust_center_setting_history" table
7+
ALTER TABLE "trust_center_setting_history" DROP COLUMN "nda_approver_group_id";

db/migrations-goose-postgres/atlas.sum

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
h1:h2z+Vq/GsSQo69PVCum+HFVWbyFzLVMcdeVyoiu1HBw=
1+
h1:Jf33SdHVk4BqtycimHJp10CwAU/zUvg93K43chjvWB8=
22
20251229183203_init.sql h1:g/05irCXoqKFObJV2PPLuvDRqma+da41VPsZ5fXQgfE=
33
20251229183205_init_history.sql h1:P/q2kAHb8zfNMOWzYkKtPbOwoh9GdJUQljSNAiPEjYI=
44
20251231045229_workflow.sql h1:uUPRLO4yw2y//fPGeqIXRrL+fiEN1TRGkF4wHiqPaPk=
@@ -140,3 +140,5 @@ h1:h2z+Vq/GsSQo69PVCum+HFVWbyFzLVMcdeVyoiu1HBw=
140140
20260529171329_googledriveintegration_history.sql h1:Ij8rZgP/CoZRjFXVR5YTR24MwuyroRHVFuuODhYiL/g=
141141
20260601213403_task_is_template.sql h1:3bhGX/4BLwcE/wnr8RofKAkdyGENm4tLF1JJDA77Rac=
142142
20260601213412_task_is_template_history.sql h1:Acqiozh04KQ2lQ+A34L36qkJT9rDHp3+qe+3pHg8BT4=
143+
20260604190613_trustcenter_group_approval.sql h1:aeVaVBSLF5tiJ3CzW9aCDpKubkIlXc9bBO0rZ7QigSM=
144+
20260604190623_trustcenter_group_approval_history.sql h1:Sk9o0z0qXw8mbLmJ4NiRHhOh1kA77UzjHqteA/O0vyQ=
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Modify "trust_center_settings" table
2+
ALTER TABLE "trust_center_settings" ADD COLUMN "nda_approver_group_id" character varying NULL, ADD CONSTRAINT "trust_center_settings_groups_nda_approver_group" FOREIGN KEY ("nda_approver_group_id") REFERENCES "groups" ("id") ON UPDATE NO ACTION ON DELETE SET NULL;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Modify "trust_center_setting_history" table
2+
ALTER TABLE "trust_center_setting_history" ADD COLUMN "nda_approver_group_id" character varying NULL;

db/migrations/atlas.sum

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
h1:RBKSFNaSEIwZwc4SbFy/O5UVk32lbsCfJeSLcAPwGQs=
1+
h1:u1UWnpsja5rWWfqMlY7XEv2b3dq+GZ0QKTS+rHnH6mA=
22
20251229183159_init.sql h1:3uf/ftr28zW8YUD9qAaY2GESQHC7pYmkhlI6oDWUCKU=
33
20251229183201_init_history.sql h1:1tFSeCDWvZgb2Ctw80C/s3tqVPNLADQw9fSDACzL8WA=
44
20251231045221_workflow.sql h1:5bLq4cHh2kxUV7xajK5bq5McKKpr88HmufYauTdsgUw=
@@ -140,3 +140,5 @@ h1:RBKSFNaSEIwZwc4SbFy/O5UVk32lbsCfJeSLcAPwGQs=
140140
20260529171320_googledriveintegration_history.sql h1:nvLG0JqXucPFdqLTjY835U0cTQoLiMAbRtjayGCUwf8=
141141
20260601213340_task_is_template.sql h1:8fA5dkzeXHiYeFqzoKvBQJk4h9OrTNt30HOR98x8bQY=
142142
20260601213351_task_is_template_history.sql h1:TYzI5AUpoeEJF7O8oOGQLuKMqIa/HopRxzPaI+E5LBQ=
143+
20260604190547_trustcenter_group_approval.sql h1:iMIykyriLSj5H6jUKZjJ1hzW+Ovtk37D24KDCpyNuhY=
144+
20260604190559_trustcenter_group_approval_history.sql h1:eH338TXyrvcL8nz//PJrXfczjw/2YzyYMNKLYE29IBo=

internal/ent/authzgenerated/accessmap.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a0e067a977be32f33c47f1f2864c6096b04ce800c06be050047e3a61d7dd3493
1+
ca3ed96065b806134675a56e79bbb162e5abf2204f771ed629cab45486bd98f4

0 commit comments

Comments
 (0)