Skip to content

Commit

Permalink
Replace TODO with FIXME
Browse files Browse the repository at this point in the history
Done due to the severity of the lack of implementation (breaks entire
access control framework).
  • Loading branch information
RichDom2185 committed Jul 26, 2023
1 parent e2065dd commit 78362c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/auth/permissions/users/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (p RolePermission) IsAuthorized(r *http.Request) bool {
if err != nil {
return false
}
// TODO: Implement. Blocked by request context missing group info.
// FIXME: Implement. Blocked by request context missing group info.
_ = userID
// role := getRole(userID, groupID)
// return groupenums.IsRoleGreaterThan(role, p.Role)
Expand Down

0 comments on commit 78362c1

Please sign in to comment.