Skip to content

Commit 66aec71

Browse files
committed
add fixture
1 parent c6a18ce commit 66aec71

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
INSERT INTO workspace_agent_port_share
2+
(workspace_id, agent_name, port, share_level)
3+
VALUES
4+
('b90547be-8870-4d68-8184-e8b2242b7c01', 'qua', 8080, 2) RETURNING *;

coderd/rbac/object.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,6 @@ var (
220220
ResourceOAuth2ProviderAppSecret = Object{
221221
Type: "oauth2_app_secrets",
222222
}
223-
224-
// ResourceWorkspaceAgentPortShare is for sharing workspace agent ports.
225-
ResourceWorkspaceAgentPortShare = Object{
226-
Type: "workspace_agent_port_share",
227-
}
228223
)
229224

230225
// ResourceUserObject is a helper function to create a user object for authz checks.

coderd/rbac/object_gen.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)