{"action":"created","issue":{"url":"https://api.github.com/repos/ResearchKit/AppCore/issues/117","labels_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/117/comments","events_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/117/events","html_url":"https://github.com/ResearchKit/AppCore/pull/117","id":97490076,"number":117,"title":"Disambiguate userInfoItemTypes and signUpPermissionTypes","user":{"login":"chrisinsfo","id":3868802,"avatar_url":"https://avatars.githubusercontent.com/u/3868802?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisinsfo","html_url":"https://github.com/chrisinsfo","followers_url":"https://api.github.com/users/chrisinsfo/followers","following_url":"https://api.github.com/users/chrisinsfo/following{/other_user}","gists_url":"https://api.github.com/users/chrisinsfo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisinsfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisinsfo/subscriptions","organizations_url":"https://api.github.com/users/chrisinsfo/orgs","repos_url":"https://api.github.com/users/chrisinsfo/repos","events_url":"https://api.github.com/users/chrisinsfo/events{/privacy}","received_events_url":"https://api.github.com/users/chrisinsfo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-27T15:30:15Z","updated_at":"2015-07-27T16:26:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ResearchKit/AppCore/pulls/117","html_url":"https://github.com/ResearchKit/AppCore/pull/117","diff_url":"https://github.com/ResearchKit/AppCore/pull/117.diff","patch_url":"https://github.com/ResearchKit/AppCore/pull/117.patch"},"body":"## Overview\r\nSince APCOnboarding Manager now owns an APCPermissionsManager with a public properties of signUpPermissionTypes and userInfoItemTypes, it is no longer necessary for the Onboarding Manager to have a userProfileElements property.\r\n\r\n## Actions\r\n* Remove references to userProfileElements from APCOnboardingManager and APCAppDelegate\r\n* Remove userProfileElements from APCOnboardingManager initializers.\r\n* Disambiguate userInfoItemTypes/userProfileElements and signUpPermissionTypes/requiredServiceTypes which refer to enums in APCConstants (APCUserInfoItemType and APCSignUpPermissionsType). \r\n* Initialize APCPermissionsManager with signUpPermissionTypes.\r\n* Ensure any methods enumerating profile types are of the correct type.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ResearchKit/AppCore/issues/comments/125263628","html_url":"https://github.com/ResearchKit/AppCore/pull/117#issuecomment-125263628","issue_url":"https://api.github.com/repos/ResearchKit/AppCore/issues/117","id":125263628,"user":{"login":"chrisinsfo","id":3868802,"avatar_url":"https://avatars.githubusercontent.com/u/3868802?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisinsfo","html_url":"https://github.com/chrisinsfo","followers_url":"https://api.github.com/users/chrisinsfo/followers","following_url":"https://api.github.com/users/chrisinsfo/following{/other_user}","gists_url":"https://api.github.com/users/chrisinsfo/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisinsfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisinsfo/subscriptions","organizations_url":"https://api.github.com/users/chrisinsfo/orgs","repos_url":"https://api.github.com/users/chrisinsfo/repos","events_url":"https://api.github.com/users/chrisinsfo/events{/privacy}","received_events_url":"https://api.github.com/users/chrisinsfo/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T16:26:04Z","updated_at":"2015-07-27T16:26:04Z","body":"@p2 APCSignUpPermissionsTypeS are in defined in APCConstants.h and determine whether we ask the user for permission to access the camera, microphone, photo library etc. APCUserInfoItemTypeS are defined in APCUserInfoConstants.h and allow us to show an appropriate user interface in APCProfileViewController for each type. The APCUserInfoItemTypeS are an amalgamation of quantity types, characteristic types and other items."}}