mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add organization scope for shared ports (#18314)
This commit is contained in:
+722
-713
File diff suppressed because it is too large
Load Diff
@@ -24,6 +24,7 @@ message WorkspaceApp {
|
||||
OWNER = 1;
|
||||
AUTHENTICATED = 2;
|
||||
PUBLIC = 3;
|
||||
ORGANIZATION = 4;
|
||||
}
|
||||
SharingLevel sharing_level = 10;
|
||||
|
||||
@@ -401,10 +402,11 @@ message CreateSubAgentRequest {
|
||||
TAB = 1;
|
||||
}
|
||||
|
||||
enum Share {
|
||||
enum SharingLevel {
|
||||
OWNER = 0;
|
||||
AUTHENTICATED = 1;
|
||||
PUBLIC = 2;
|
||||
ORGANIZATION = 3;
|
||||
}
|
||||
|
||||
string slug = 1;
|
||||
@@ -417,7 +419,7 @@ message CreateSubAgentRequest {
|
||||
optional string icon = 8;
|
||||
optional OpenIn open_in = 9;
|
||||
optional int32 order = 10;
|
||||
optional Share share = 11;
|
||||
optional SharingLevel share = 11;
|
||||
optional bool subdomain = 12;
|
||||
optional string url = 13;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user