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 57cde94 commit 4daa878Copy full SHA for 4daa878
coderd/authzquery/authz.go
@@ -211,6 +211,7 @@ func fetchAndExec[
211
}
212
213
// fetchAndQuery is a generic function that wraps a database fetch and query.
214
+// A query has potential side effects in the database (update, delete, etc).
215
// The fetch is used to know which rbac object the action should be asserted on
216
// **before** the query runs. The returns from the fetch are only used to
217
// assert rbac. The final return of this function comes from the Query function.
0 commit comments