MinisterioPublicoRJ / inloco

A Geographic Information System (GIS) used by Ministério Público do Estado do Rio de Janeiro to show social, institutional and administrative data , based on React and Leaflet, interacting with a GeoServer back-end.
MIT License
11 stars 1 forks source link

Bug - restricted layer can't be shared #449

Open nighto opened 6 years ago

nighto commented 6 years ago

Steps to reproduce:

  1. Login with a SCA account
  2. Choose a restricted layer (i.e. Consumidor > Postos de Combustível - Processo na ANP)
  3. Click on share button. The button COPIAR doesn't appear.

image

Seems to be a problem with restricted layers and/or being logged, on private mode with a public layer the function worked properly.

image

nighto commented 6 years ago

Seems to be an issue with being logged in. Without logging, trying to share a public layer worked. However after logging in, trying to share a public layer didn't work.

Interestingly, even after logging out, it didn't work. I had to refresh the page.

Also, no errors on the console.