{"action":"created","issue":{"url":"https://api.github.com/repos/vanilla/vanilla/issues/2998","labels_url":"https://api.github.com/repos/vanilla/vanilla/issues/2998/labels{/name}","comments_url":"https://api.github.com/repos/vanilla/vanilla/issues/2998/comments","events_url":"https://api.github.com/repos/vanilla/vanilla/issues/2998/events","html_url":"https://github.com/vanilla/vanilla/pull/2998","id":102501680,"number":2998,"title":"Method to allow Edit Profile with SSO enabled","user":{"login":"valeryan","id":1508761,"avatar_url":"https://avatars.githubusercontent.com/u/1508761?v=3","gravatar_id":"","url":"https://api.github.com/users/valeryan","html_url":"https://github.com/valeryan","followers_url":"https://api.github.com/users/valeryan/followers","following_url":"https://api.github.com/users/valeryan/following{/other_user}","gists_url":"https://api.github.com/users/valeryan/gists{/gist_id}","starred_url":"https://api.github.com/users/valeryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeryan/subscriptions","organizations_url":"https://api.github.com/users/valeryan/orgs","repos_url":"https://api.github.com/users/valeryan/repos","events_url":"https://api.github.com/users/valeryan/events{/privacy}","received_events_url":"https://api.github.com/users/valeryan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vanilla/vanilla/labels/Awaiting%20Feedback","name":"Awaiting Feedback","color":"F8981F"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-22T04:03:12Z","updated_at":"2015-08-31T15:36:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vanilla/vanilla/pulls/2998","html_url":"https://github.com/vanilla/vanilla/pull/2998","diff_url":"https://github.com/vanilla/vanilla/pull/2998.diff","patch_url":"https://github.com/vanilla/vanilla/pull/2998.patch"},"body":"Enabling SSO and setting registration method to connect will disable the edit profile link as mentioned in #2707. Although enabling locations or titles will enable the edit profile link, I don't think the edit link should get disabled because of things like the profile extension plugin, setting gender, etc. \r\n\r\nThis PR serves as an possible example of what I think might work. \r\n\r\n1. Commented out the section of the core render function that removes the edit link.\r\n2. Change the can edit username and email logic to be disable if registration method is \"connect\".\r\n3. Set a message that explains why both are disabled.\r\n4. Added logic to display message in the edit profile view. \r\n"},"comment":{"url":"https://api.github.com/repos/vanilla/vanilla/issues/comments/136408601","html_url":"https://github.com/vanilla/vanilla/pull/2998#issuecomment-136408601","issue_url":"https://api.github.com/repos/vanilla/vanilla/issues/2998","id":136408601,"user":{"login":"valeryan","id":1508761,"avatar_url":"https://avatars.githubusercontent.com/u/1508761?v=3","gravatar_id":"","url":"https://api.github.com/users/valeryan","html_url":"https://github.com/valeryan","followers_url":"https://api.github.com/users/valeryan/followers","following_url":"https://api.github.com/users/valeryan/following{/other_user}","gists_url":"https://api.github.com/users/valeryan/gists{/gist_id}","starred_url":"https://api.github.com/users/valeryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeryan/subscriptions","organizations_url":"https://api.github.com/users/valeryan/orgs","repos_url":"https://api.github.com/users/valeryan/repos","events_url":"https://api.github.com/users/valeryan/events{/privacy}","received_events_url":"https://api.github.com/users/valeryan/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T15:36:15Z","updated_at":"2015-08-31T15:36:15Z","body":"Thanks for the clarification."}}