Add GrantReplaced annotation for grant#174
Conversation
Connector PR Review: Add GrantReplaced annotation for grantBlocking Issues: 0 | Suggestions: 1 | Threads Resolved: 0 Review SummaryThe new commits extract the Security IssuesNone found. Correctness IssuesNone found. Suggestions
Prompt for AI agents |
| repoPermissionAdmin = "admin" | ||
| ) | ||
|
|
||
| const readConst = "read" |
There was a problem hiding this comment.
🟡 Suggestion: readConst encodes the Go type in the name rather than describing the domain concept. The other constants in this file use the repoPermission* prefix. Consider a name like apiRoleRead or roleNameRead to clarify this is the GitHub API's role vocabulary (as opposed to the entitlement permission vocabulary).
| const readConst = "read" | |
| const apiRoleRead = "read" |
No description provided.