auth
auth/profile.go
Add our BUG notices. Rather than keeping the list of things to implement or test on sticky notes attached to my monitor, let's give them BUG designations within the code. Now `godoc . bugs` will list them out for us. Isn't that nice?
1.1 --- a/profile.go Mon Jan 19 06:01:51 2015 -0500 1.2 +++ b/profile.go Mon Jan 19 06:42:42 2015 -0500 1.3 @@ -425,6 +425,12 @@ 1.4 // RegisterProfileHandlers adds handlers to the passed router to handle the profile endpoints, like registration and user retrieval. 1.5 func RegisterProfileHandlers(r *mux.Router, context Context) { 1.6 r.Handle("/profiles", wrap(context, CreateProfileHandler)).Methods("POST") 1.7 + // BUG(paddy): We need to implement a handler that will return information about a profile or set of profiles. 1.8 + // BUG(paddy): We need to implement a handler that will update a profile. 1.9 + // BUG(paddy): We need to implement a handler that will delete a profile. What happens to clients/tokens/grants/sessions when a profile is deleted? 1.10 + // BUG(paddy): We need to implement a handler that will add a login to a profile. 1.11 + // BUG(paddy): We need to implement a handler that will remove a login from a profile. What happens to sessions created with that login? 1.12 + // BUG(paddy): We need to implement a handler that will list the logins attached to a profile. 1.13 } 1.14 1.15 // CreateProfileHandler is an HTTP handler for registering new profiles.