{"action":"created","issue":{"url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/2474","repository_url":"https://api.github.com/repos/nilsteampassnet/TeamPass","labels_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/2474/labels{/name}","comments_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/2474/comments","events_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/2474/events","html_url":"https://github.com/nilsteampassnet/TeamPass/issues/2474","id":380636394,"node_id":"MDU6SXNzdWUzODA2MzYzOTQ=","number":2474,"title":"Manager can't view users","user":{"login":"sfrlaurent","id":10242259,"node_id":"MDQ6VXNlcjEwMjQyMjU5","avatar_url":"https://avatars0.githubusercontent.com/u/10242259?v=4","gravatar_id":"","url":"https://api.github.com/users/sfrlaurent","html_url":"https://github.com/sfrlaurent","followers_url":"https://api.github.com/users/sfrlaurent/followers","following_url":"https://api.github.com/users/sfrlaurent/following{/other_user}","gists_url":"https://api.github.com/users/sfrlaurent/gists{/gist_id}","starred_url":"https://api.github.com/users/sfrlaurent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfrlaurent/subscriptions","organizations_url":"https://api.github.com/users/sfrlaurent/orgs","repos_url":"https://api.github.com/users/sfrlaurent/repos","events_url":"https://api.github.com/users/sfrlaurent/events{/privacy}","received_events_url":"https://api.github.com/users/sfrlaurent/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-14T10:38:44Z","updated_at":"2018-11-14T20:05:46Z","closed_at":"2018-11-14T20:05:46Z","author_association":"NONE","body":"\r\n### Steps to reproduce\r\n1. connect as user , manager of a role\r\n2.  list users \r\n\r\n\r\n### Expected behaviour\r\nas it was in previous release (2.1.17.7) \r\nthe manager lists all the users managed by the managers of the role\r\n\r\n\r\n### Actual behaviour\r\nthe list is empty even if the manager creates a new user.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nubuntu 16.04\r\n\r\nWeb server:\r\napache/2.4.18\r\nDatabase:\r\nmysql 14.14\r\n\r\nPHP version:\r\nphp 7.0.30\r\n\r\nTeampass version:\r\n2.1.27.22\r\n**Teampass configuration file:**\r\n\r\n[tp.config.php.txt](https://github.com/nilsteampassnet/TeamPass/files/2580206/tp.config.php.txt)\r\n\r\n**Updated from an older Teampass or fresh install:**\r\nupdated to 2.1.27.22 from 2.1.27.7\r\n\r\n### Client configuration\r\nchrome or firefox or IE\r\n\r\n**Operating system:**\r\nwindows 7\r\n### Logs\r\n#### Web server error log\r\nno errors \r\n\r\n#### Log from the web-browser developer console (CTRL + SHIFT + i)\r\n```\r\nInsert the log here and especially the answer of the query that failed.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/comments/438799972","html_url":"https://github.com/nilsteampassnet/TeamPass/issues/2474#issuecomment-438799972","issue_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/2474","id":438799972,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODc5OTk3Mg==","user":{"login":"nilsteampassnet","id":1197546,"node_id":"MDQ6VXNlcjExOTc1NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/1197546?v=4","gravatar_id":"","url":"https://api.github.com/users/nilsteampassnet","html_url":"https://github.com/nilsteampassnet","followers_url":"https://api.github.com/users/nilsteampassnet/followers","following_url":"https://api.github.com/users/nilsteampassnet/following{/other_user}","gists_url":"https://api.github.com/users/nilsteampassnet/gists{/gist_id}","starred_url":"https://api.github.com/users/nilsteampassnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilsteampassnet/subscriptions","organizations_url":"https://api.github.com/users/nilsteampassnet/orgs","repos_url":"https://api.github.com/users/nilsteampassnet/repos","events_url":"https://api.github.com/users/nilsteampassnet/events{/privacy}","received_events_url":"https://api.github.com/users/nilsteampassnet/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T20:05:46Z","updated_at":"2018-11-14T20:05:46Z","author_association":"OWNER","body":"I believe that you haven't adapted the manager delegation for the users.\r\n\r\nPLease check https://teampass.readthedocs.io/en/latest/manage/manage-users/#add-a-new-user and especially `User is administrated by`.\r\n\r\nExample with manager `U2` that has role `Test2` defined as bellow.\r\n![image](https://user-images.githubusercontent.com/1197546/48509166-9afb7a80-e850-11e8-8af2-3c52be9ec2d5.png)\r\n\r\nAs `U2` is defined as Manager and associated to role `Test2`, he will be the manager of any other normal users that have the delegation to role `Manager of role Test2`. \r\n![image](https://user-images.githubusercontent.com/1197546/48509118-7b645200-e850-11e8-859a-1bbc958fa159.png)\r\n\r\nAs a consequence, the next users will be available from his list of users\r\n![image](https://user-images.githubusercontent.com/1197546/48509273-ea41ab00-e850-11e8-9426-9910d8e41739.png)\r\n\r\nI hope this clarifies the point.\r\n"}}
{"actor":{"display_login":"nilsteampassnet"}}