We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c86e44 commit 30c6568Copy full SHA for 30c6568
coderd/authz/authztest/object.go
coderd/authz/object.go
@@ -15,6 +15,10 @@ type OrgResource interface {
15
OrgOwnerID() string
16
}
17
18
+var _ Resource = (*zObject)(nil)
19
+var _ UserResource = (*zObject)(nil)
20
+var _ OrgResource = (*zObject)(nil)
21
+
22
// zObject is used to create objects for authz checks when you have none in
23
// hand to run the check on.
24
// An example is if you want to list all workspaces, you can create a zObject
0 commit comments