Criar a role:

[et_pb_dmb_code_snippet _builder_version=”4.0.6″ code=”Q1JFQVRFIFJPTEUgUkxfUEFDS0FHRSBOT1QgSURFTlRJRklFRDs=” hover_enabled=”0″]Q1JFQVRFIFJPTEUgUkxfUEFDS0FHRSBOT1QgSURFTlRJRklFRDs=[/et_pb_dmb_code_snippet]

Criar usuário para ‘ver’ as packages e packages body:

[et_pb_dmb_code_snippet _builder_version=”4.0.6″ code=”Q1JFQVRFIFVTRVIgVVNFUl9QQUNLQUdFIFBST0ZJTEUgREVGQVVMVApJREVOVElGSUVEIEJZIFVTRVJfUEFDS0FHRSBERUZBVUxUIFRBQkxFU1BBQ0UgREVGVUFMVApURU1QT1JBUlkgVEFCTEVTUEFDRSBURU1QCkFDQ09VTlQgVU5MT0NLOwpHUkFOVCBDUkVBVEUgU0VTU0lPTiBUTyBVU0VSX1BBQ0tBR0U7CkdSQU5UIFNFTEVDVCBBTlkgRElDVElPTkFSWSBUTyBVU0VSX1BBQ0tBR0U7CkdSQU5UIFJMX1BBQ0tBR0UgVE8gVVNFUl9QQUNLQUdFOw==” hover_enabled=”0″]Q1JFQVRFIFVTRVIgVVNFUl9QQUNLQUdFIFBST0ZJTEUgREVGQVVMVApJREVOVElGSUVEIEJZIFVTRVJfUEFDS0FHRSBERUZBVUxUIFRBQkxFU1BBQ0UgREVGVUFMVApURU1QT1JBUlkgVEFCTEVTUEFDRSBURU1QCkFDQ09VTlQgVU5MT0NLOwpHUkFOVCBDUkVBVEUgU0VTU0lPTiBUTyBVU0VSX1BBQ0tBR0U7CkdSQU5UIFNFTEVDVCBBTlkgRElDVElPTkFSWSBUTyBVU0VSX1BBQ0tBR0U7CkdSQU5UIFJMX1BBQ0tBR0UgVE8gVVNFUl9QQUNLQUdFOw==[/et_pb_dmb_code_snippet]

Grants para a role:

[et_pb_dmb_code_snippet _builder_version=”4.0.6″ code=”U0VMRUNUIOKAmEdSQU5UIOKAmCB8fCBERUNPREUoT0JKRUNUX1RZUEUsIOKAmFBBQ0tBR0XigJksIOKAmEVYRUNVVEXigJksIOKAmEZVTkNUSU9O4oCZLCDigJhFWEVDVVRF4oCZKSB8fArigJggT04g4oCYIHx8IE9CSkVDVF9OQU1FIHx8IOKAmCBUTyBSTF9QQUNLQUdFO+KAmQpGUk9NIFVTRVJfT0JKRUNUUwpXSEVSRSBPQkpFQ1RfVFlQRSBJTiAo4oCYUEFDS0FHReKAmSwg4oCYRlVOQ1RJT07igJkpOw==” hover_enabled=”0″]U0VMRUNUIOKAmEdSQU5UIOKAmCB8fCBERUNPREUoT0JKRUNUX1RZUEUsIOKAmFBBQ0tBR0XigJksIOKAmEVYRUNVVEXigJksIOKAmEZVTkNUSU9O4oCZLCDigJhFWEVDVVRF4oCZKSB8fArigJggT04g4oCYIHx8IE9CSkVDVF9OQU1FIHx8IOKAmCBUTyBSTF9QQUNLQUdFO+KAmQpGUk9NIFVTRVJfT0JKRUNUUwpXSEVSRSBPQkpFQ1RfVFlQRSBJTiAo4oCYUEFDS0FHReKAmSwg4oCYRlVOQ1RJT07igJkpOw==[/et_pb_dmb_code_snippet]
Executar o comando acima com o usuário owner das packages.
Ferramenta para vizualizar pode ser as mencionadas abaixo com as configurações:
[et_pb_dmb_code_snippet _builder_version=”4.0.6″ code=”UEwvU1FMIERldmVsb3BlcjogVG9vbHMg4oCTPiBQcmVmZXJlbmNlcyDigJM+IE9yYWNsZSDigJM+IE9wdGlvbnMg4oCTPiBVc2UgREJBIFZpZXdzIGlmIGF2YWlsYWJsZQpUT0FEOiBWaWV3IC0+IE9wdGlvbnMgLT4gU3RhcnR1cCAsIGFuZCBjaGVja2VkIOKAnENoZWNrIGZvciBBY2Nlc3MgdG8gREJBIFZpZXdz4oCd” hover_enabled=”0″]UEwvU1FMIERldmVsb3BlcjogVG9vbHMg4oCTPiBQcmVmZXJlbmNlcyDigJM+IE9yYWNsZSDigJM+IE9wdGlvbnMg4oCTPiBVc2UgREJBIFZpZXdzIGlmIGF2YWlsYWJsZQpUT0FEOiBWaWV3IC0+IE9wdGlvbnMgLT4gU3RhcnR1cCAsIGFuZCBjaGVja2VkIOKAnENoZWNrIGZvciBBY2Nlc3MgdG8gREJBIFZpZXdz4oCd[/et_pb_dmb_code_snippet]
Após isso acessar as informações das packages dentro do usuario owner, conectar com o novo usuário, localizar o usuário owner na lista de users e nele contém os objetos que podem ser visualizados.
Att,
capin