Skip to content

Commit 39f124c

Browse files
committed
removed Type from compare
1 parent 1239656 commit 39f124c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

coderd/rbac/authz.go

-3
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ func (s Subject) WithCachedASTValue() Subject {
124124
}
125125

126126
func (s Subject) Equal(b Subject) bool {
127-
if s.Type != b.Type {
128-
return false
129-
}
130127
if s.ID != b.ID {
131128
return false
132129
}

0 commit comments

Comments
 (0)