File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ import (
9
9
"github.com/coder/coder/coderd/database"
10
10
)
11
11
12
- // TODO: @emyrk should we name system functions differently to indicate a user
13
- // cannot call them? Maybe we should have a separate interface for system functions?
14
- // So you'd do `authzQ.System().GetDERPMeshKey(ctx)` or something like that?
15
- // Cian: yes. Let's do it .
12
+ // TODO: All these system functions should have rbac objects created to allow
13
+ // only system roles to call them. No user roles should ever have the permission
14
+ // to these objects. Might need a negative permission on the `Owner` role to
15
+ // prevent owners .
16
16
17
17
func (q * AuthzQuerier ) UpdateUserLinkedID (ctx context.Context , arg database.UpdateUserLinkedIDParams ) (database.UserLink , error ) {
18
18
return q .db .UpdateUserLinkedID (ctx , arg )
You can’t perform that action at this time.
0 commit comments