{"action":"created","issue":{"url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1458","repository_url":"https://api.github.com/repos/jccastillo0007/eFacturaT","labels_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1458/labels{/name}","comments_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1458/comments","events_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1458/events","html_url":"https://github.com/jccastillo0007/eFacturaT/issues/1458","id":374563159,"node_id":"MDU6SXNzdWUzNzQ1NjMxNTk=","number":1458,"title":"Si un usuario no tiene el plugin de admin, no abre la ventana de CFDI's relacionados","user":{"login":"RigoFlores","id":2912775,"node_id":"MDQ6VXNlcjI5MTI3NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/2912775?v=4","gravatar_id":"","url":"https://api.github.com/users/RigoFlores","html_url":"https://github.com/RigoFlores","followers_url":"https://api.github.com/users/RigoFlores/followers","following_url":"https://api.github.com/users/RigoFlores/following{/other_user}","gists_url":"https://api.github.com/users/RigoFlores/gists{/gist_id}","starred_url":"https://api.github.com/users/RigoFlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RigoFlores/subscriptions","organizations_url":"https://api.github.com/users/RigoFlores/orgs","repos_url":"https://api.github.com/users/RigoFlores/repos","events_url":"https://api.github.com/users/RigoFlores/events{/privacy}","received_events_url":"https://api.github.com/users/RigoFlores/received_events","type":"User","site_admin":false},"labels":[{"id":20431684,"node_id":"MDU6TGFiZWwyMDQzMTY4NA==","url":"https://api.github.com/repos/jccastillo0007/eFacturaT/labels/resolved","name":"resolved","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":{"login":"jccastillo0007","id":2245679,"node_id":"MDQ6VXNlcjIyNDU2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2245679?v=4","gravatar_id":"","url":"https://api.github.com/users/jccastillo0007","html_url":"https://github.com/jccastillo0007","followers_url":"https://api.github.com/users/jccastillo0007/followers","following_url":"https://api.github.com/users/jccastillo0007/following{/other_user}","gists_url":"https://api.github.com/users/jccastillo0007/gists{/gist_id}","starred_url":"https://api.github.com/users/jccastillo0007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jccastillo0007/subscriptions","organizations_url":"https://api.github.com/users/jccastillo0007/orgs","repos_url":"https://api.github.com/users/jccastillo0007/repos","events_url":"https://api.github.com/users/jccastillo0007/events{/privacy}","received_events_url":"https://api.github.com/users/jccastillo0007/received_events","type":"User","site_admin":false},"assignees":[{"login":"jccastillo0007","id":2245679,"node_id":"MDQ6VXNlcjIyNDU2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2245679?v=4","gravatar_id":"","url":"https://api.github.com/users/jccastillo0007","html_url":"https://github.com/jccastillo0007","followers_url":"https://api.github.com/users/jccastillo0007/followers","following_url":"https://api.github.com/users/jccastillo0007/following{/other_user}","gists_url":"https://api.github.com/users/jccastillo0007/gists{/gist_id}","starred_url":"https://api.github.com/users/jccastillo0007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jccastillo0007/subscriptions","organizations_url":"https://api.github.com/users/jccastillo0007/orgs","repos_url":"https://api.github.com/users/jccastillo0007/repos","events_url":"https://api.github.com/users/jccastillo0007/events{/privacy}","received_events_url":"https://api.github.com/users/jccastillo0007/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-26T22:07:31Z","updated_at":"2018-10-27T15:50:12Z","closed_at":null,"author_association":"COLLABORATOR","body":"Aún cuando el usuario si tiene acceso a facturación. Entonces si debería abrir la ventana de CFDI's relacionados, pero no lo hace.\r\nSolo la abre si tiene el plugin admin.\r\n\r\nAnexo el cueri específico. En este caso, que es el del cliente que reportó en PRO\r\nEl usuario GLS131106EQ4  si abre la ventana de CFDI's relacionado. Pero por ejemplo el usuario yesi que es quién factura, no puede relacionar un CFDI, porque no abre la ventana.\r\n\r\n\r\nmysql> select * from Users where client_id in (select id from Client where rfc = 'GLS131106EQ4');\r\n+------+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------+-----------+--------------------------------+\r\n| id   | password     | role                                                                                                                                          | userId       | client_id | emails                         |\r\n+------+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------+-----------+--------------------------------+\r\n| 1151 | GLS131106EQ4 | [\"ADMIN\",\"CATALOGS_MENU\",\"VENTAS_MENU\",\"COMPRAS_MENU\",\"RETENTIONS_MENU\",\"CxC_MENU\",\"ADMIN_MENU\",\"EMAIL_VENTAS\",\"EMAIL_COMPRAS\",\"NO_CANCELAR\"] | GLS131106EQ4 |     22977 |                                |\r\n| 1258 | cc148        | [\"CATALOGS_MENU\",\"VENTAS_MENU\",\"COMPRAS_MENU\",\"USER\"]                                                                                         | Raul         |     22977 | [\"raul@tingsystems.com\"]       |\r\n| 1266 | ye999        | [\"CATALOGS_MENU\",\"VENTAS_MENU\",\"COMPRAS_MENU\",\"RETENTIONS_MENU\",\"ADMIN_MENU\",\"EMAIL_VENTAS\",\"EMAIL_COMPRAS\",\"USER\",\"CxC_MENU\"]                | yesi         |     22977 | [\"facturas@thegloboworld.com\"] |\r\n| 1470 | 452178       | [\"CATALOGS_MENU\",\"VENTAS_MENU\",\"USER\"]                                                                                                        | Pedro        |     22977 |                                |\r\n+------+--------------+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------+-----------+--------------------------------+\r\n"},"comment":{"url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/comments/433631881","html_url":"https://github.com/jccastillo0007/eFacturaT/issues/1458#issuecomment-433631881","issue_url":"https://api.github.com/repos/jccastillo0007/eFacturaT/issues/1458","id":433631881,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzYzMTg4MQ==","user":{"login":"RigoFlores","id":2912775,"node_id":"MDQ6VXNlcjI5MTI3NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/2912775?v=4","gravatar_id":"","url":"https://api.github.com/users/RigoFlores","html_url":"https://github.com/RigoFlores","followers_url":"https://api.github.com/users/RigoFlores/followers","following_url":"https://api.github.com/users/RigoFlores/following{/other_user}","gists_url":"https://api.github.com/users/RigoFlores/gists{/gist_id}","starred_url":"https://api.github.com/users/RigoFlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RigoFlores/subscriptions","organizations_url":"https://api.github.com/users/RigoFlores/orgs","repos_url":"https://api.github.com/users/RigoFlores/repos","events_url":"https://api.github.com/users/RigoFlores/events{/privacy}","received_events_url":"https://api.github.com/users/RigoFlores/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T15:50:12Z","updated_at":"2018-10-27T15:50:12Z","author_association":"COLLABORATOR","body":"no tengo forma de validarlo en pru... lo subirás a pro?"}}
{"actor":{"display_login":"RigoFlores"}}