Cadasta / cadasta-qgis-plugin

[DEPRECATED] QGIS plugin to create, edit, upload and download Cadasta projects
GNU General Public License v3.0
4 stars 7 forks source link

Only location layer downloads for a private project that I am an owner to #251

Open SteadyCadence opened 7 years ago

SteadyCadence commented 7 years ago

I need to dive in more, but I have a private project and when I download it in QGIS it only downloads the location layer (and not the party and relationship layer).

There seems to be something going on with public versus private projects. If I am an administrator to any project, I should always be able to see the party and relationship data-- even if that project is public. We may need to look at user roles a bit more with the download project setting.

dimasciput commented 7 years ago

I added a new check, if the downloaded project is a public project then the plugin will call organization api to check whether the logged in user is a member of the organization or not, if the user is then it will downloads relationship and party layer.

SteadyCadence commented 7 years ago

ok that logic sounds good. Ill try to test this one.

SteadyCadence commented 7 years ago

@dimasciput Was this code merged into master? If so, we can move this to "Done".

SteadyCadence commented 6 years ago

Project managers do not seem to have access to their projects' party and relationship tables.

dimasciput commented 6 years ago

is this only happening on windows machine?

SteadyCadence commented 6 years ago

Yes, I think so.