Skip to content

Commit 96f3fd9

Browse files
committed
begin some aciton work
1 parent 507fde0 commit 96f3fd9

File tree

10 files changed

+444
-117
lines changed

10 files changed

+444
-117
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import (
1616
"github.com/open-policy-agent/opa/topdown"
1717

1818
"cdr.dev/slog"
19+
"github.com/coder/coder/v2/coderd/rbac/policy"
1920

2021
"github.com/coder/coder/v2/coderd/database"
2122
"github.com/coder/coder/v2/coderd/database/dbtime"

coderd/rbac/object.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ import (
88

99
const WildcardSymbol = "*"
1010

11-
// Objecter returns the RBAC object for itself.
12-
type Objecter interface {
13-
RBACObject() Object
14-
}
15-
1611
// ResourceUserObject is a helper function to create a user object for authz checks.
1712
func ResourceUserObject(userID uuid.UUID) Object {
1813
return ResourceUser.WithID(userID).WithOwner(userID.String())

0 commit comments

Comments
 (0)