{"action":"created","issue":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/96","repository_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype","labels_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/96/comments","events_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/96/events","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/issues/96","id":153513783,"number":96,"title":"Add basic Access Controls / Restrictions on restricted paths","user":{"login":"tdonohue","id":483997,"avatar_url":"https://avatars.githubusercontent.com/u/483997?v=3","gravatar_id":"","url":"https://api.github.com/users/tdonohue","html_url":"https://github.com/tdonohue","followers_url":"https://api.github.com/users/tdonohue/followers","following_url":"https://api.github.com/users/tdonohue/following{/other_user}","gists_url":"https://api.github.com/users/tdonohue/gists{/gist_id}","starred_url":"https://api.github.com/users/tdonohue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdonohue/subscriptions","organizations_url":"https://api.github.com/users/tdonohue/orgs","repos_url":"https://api.github.com/users/tdonohue/repos","events_url":"https://api.github.com/users/tdonohue/events{/privacy}","received_events_url":"https://api.github.com/users/tdonohue/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/labels/in%20progress","name":"in progress","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"wwelling","id":8352733,"avatar_url":"https://avatars.githubusercontent.com/u/8352733?v=3","gravatar_id":"","url":"https://api.github.com/users/wwelling","html_url":"https://github.com/wwelling","followers_url":"https://api.github.com/users/wwelling/followers","following_url":"https://api.github.com/users/wwelling/following{/other_user}","gists_url":"https://api.github.com/users/wwelling/gists{/gist_id}","starred_url":"https://api.github.com/users/wwelling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwelling/subscriptions","organizations_url":"https://api.github.com/users/wwelling/orgs","repos_url":"https://api.github.com/users/wwelling/repos","events_url":"https://api.github.com/users/wwelling/events{/privacy}","received_events_url":"https://api.github.com/users/wwelling/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/milestones/2","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/milestones/Prototype%20Phase%202","labels_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/milestones/2/labels","id":1669639,"number":2,"title":"Prototype Phase 2","description":"The goal of Prototype Phase 2 is to repackage the prototype UI into the full DSpace installation process in order to provide a full demo / example of a DSpace distribution.","creator":{"login":"tdonohue","id":483997,"avatar_url":"https://avatars.githubusercontent.com/u/483997?v=3","gravatar_id":"","url":"https://api.github.com/users/tdonohue","html_url":"https://github.com/tdonohue","followers_url":"https://api.github.com/users/tdonohue/followers","following_url":"https://api.github.com/users/tdonohue/following{/other_user}","gists_url":"https://api.github.com/users/tdonohue/gists{/gist_id}","starred_url":"https://api.github.com/users/tdonohue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdonohue/subscriptions","organizations_url":"https://api.github.com/users/tdonohue/orgs","repos_url":"https://api.github.com/users/tdonohue/repos","events_url":"https://api.github.com/users/tdonohue/events{/privacy}","received_events_url":"https://api.github.com/users/tdonohue/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":3,"state":"open","created_at":"2016-03-28T17:36:39Z","updated_at":"2016-05-06T18:44:21Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-06T18:44:21Z","updated_at":"2016-05-06T19:58:51Z","closed_at":null,"body":"While we do have authentication working (at a basic level), we don't seem to actually have access restrictions on any existing paths.\r\n\r\nFor example, if I logout and visit http://localhost:3000/create-community I'll see the \"Create Community\" page.  Submitting the page does nothing. It \"appears\" to work because no errors actually are thrown, but the Community is also not created.\r\n\r\nIdeally, for this initial prototype we need to restrict some paths to requiring a login.  So, in the above example, I should see a Authentication Denied error message and be directed to login first."},"comment":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/comments/217543729","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/issues/96#issuecomment-217543729","issue_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/96","id":217543729,"user":{"login":"wwelling","id":8352733,"avatar_url":"https://avatars.githubusercontent.com/u/8352733?v=3","gravatar_id":"","url":"https://api.github.com/users/wwelling","html_url":"https://github.com/wwelling","followers_url":"https://api.github.com/users/wwelling/followers","following_url":"https://api.github.com/users/wwelling/following{/other_user}","gists_url":"https://api.github.com/users/wwelling/gists{/gist_id}","starred_url":"https://api.github.com/users/wwelling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwelling/subscriptions","organizations_url":"https://api.github.com/users/wwelling/orgs","repos_url":"https://api.github.com/users/wwelling/repos","events_url":"https://api.github.com/users/wwelling/events{/privacy}","received_events_url":"https://api.github.com/users/wwelling/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:58:51Z","updated_at":"2016-05-06T19:58:51Z","body":"I remember Art specifically saying we needed access restriction. At that time we should of made both issues. Anyhow, this works. Thank you."}}