Add requires_zed_cla column to channels table
Don't allow granting guests write access in a call where the channel or one of its ancestors requires the zed CLA, until that guest has signed the Zed CLA. Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
parent
676d2cb24a
commit
25708088b7
14 changed files with 225 additions and 40 deletions
|
@ -196,7 +196,8 @@ CREATE TABLE "channels" (
|
|||
"name" VARCHAR NOT NULL,
|
||||
"created_at" TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"visibility" VARCHAR NOT NULL,
|
||||
"parent_path" TEXT
|
||||
"parent_path" TEXT,
|
||||
"requires_zed_cla" BOOLEAN NOT NULL DEFAULT FALSE
|
||||
);
|
||||
|
||||
CREATE INDEX "index_channels_on_parent_path" ON "channels" ("parent_path");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue