Skip to content

Commit 8e5598f

Browse files
committed
Remove unneeded comment.
1 parent 41a1fae commit 8e5598f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

auth/service/api/v1/profile.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ func (r *Router) ProfileRoutes() []*rest.Route {
1515
return []*rest.Route{
1616
rest.Get("/v1/users/:userId/profile", r.requireMembership("userId", r.GetProfile)),
1717
rest.Get("/v1/users/legacy/:userId/profile", r.requireMembership("userId", r.GetLegacyProfile)),
18-
// The following modification routes required custodian access in seagull, but I'm not sure that's quite right - it seems it should be if the user can modify the userId.
1918
rest.Put("/v1/users/:userId/profile", r.requireCustodian("userId", r.UpdateProfile)),
2019
rest.Put("/v1/users/legacy/:userId/profile", r.requireCustodian("userId", r.UpdateLegacyProfile)),
2120
rest.Post("/v1/users/:userId/profile", r.requireCustodian("userId", r.UpdateProfile)),

0 commit comments

Comments
 (0)