{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/6438","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/6438/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/6438/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/6438/events","html_url":"https://github.com/snipe/snipe-it/issues/6438","id":382542130,"node_id":"MDU6SXNzdWUzODI1NDIxMzA=","number":6438,"title":"Users dashboard does not reflect view permissions","user":{"login":"stbc","id":2520567,"node_id":"MDQ6VXNlcjI1MjA1Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/2520567?v=4","gravatar_id":"","url":"https://api.github.com/users/stbc","html_url":"https://github.com/stbc","followers_url":"https://api.github.com/users/stbc/followers","following_url":"https://api.github.com/users/stbc/following{/other_user}","gists_url":"https://api.github.com/users/stbc/gists{/gist_id}","starred_url":"https://api.github.com/users/stbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbc/subscriptions","organizations_url":"https://api.github.com/users/stbc/orgs","repos_url":"https://api.github.com/users/stbc/repos","events_url":"https://api.github.com/users/stbc/events{/privacy}","received_events_url":"https://api.github.com/users/stbc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-20T07:59:18Z","updated_at":"2018-12-05T20:10:20Z","closed_at":null,"author_association":"NONE","body":"**Server (please complete the following information):**\r\n - 4.6.6\r\n - Ubuntu\r\n - apache\r\n - 7\r\n\r\n**Is your feature request related to a problem? Please describe.**\r\nThe dashboard view of a users does not reflect the navigation structure displays as based on permissions. Details: If a user logs in and he does not have the right to even view the consumables, the corresponding menu item is not displayed - this is what I would consider as expected behaviour. But on the dahsboard the consumables table is displayed, which could lead to confusion. See attached screenshot. Sam applies for all other items...\r\n\r\n![grafik](https://user-images.githubusercontent.com/2520567/48759319-099e6500-eca3-11e8-9784-6ff8e3e116e4.png)\r\n\r\n**Describe the solution you'd like**\r\nIf a user does not have the proper rights to view a certain category, it shouldn't be displayed on the dashboard.\r\n"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/444628504","html_url":"https://github.com/snipe/snipe-it/issues/6438#issuecomment-444628504","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/6438","id":444628504,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDYyODUwNA==","user":{"login":"Jarli01","id":14837699,"node_id":"MDQ6VXNlcjE0ODM3Njk5","avatar_url":"https://avatars2.githubusercontent.com/u/14837699?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarli01","html_url":"https://github.com/Jarli01","followers_url":"https://api.github.com/users/Jarli01/followers","following_url":"https://api.github.com/users/Jarli01/following{/other_user}","gists_url":"https://api.github.com/users/Jarli01/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarli01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarli01/subscriptions","organizations_url":"https://api.github.com/users/Jarli01/orgs","repos_url":"https://api.github.com/users/Jarli01/repos","events_url":"https://api.github.com/users/Jarli01/events{/privacy}","received_events_url":"https://api.github.com/users/Jarli01/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T20:10:20Z","updated_at":"2018-12-05T20:10:20Z","author_association":"NONE","body":"@morrow72 are your users in the two separate companies superadmins?"}}
{"actor":{"display_login":"Jarli01"}}