archesproject / arches-qgis

A QGIS plugin for integration and data management with an Arches project.
GNU Affero General Public License v3.0
0 stars 1 forks source link

move layer assignment to before function calls #18

Closed SDScandrettKint closed 2 days ago

SDScandrettKint commented 2 days ago

This PR is just to fix two issues:

  1. the self.layers was being assigned in update_create_resources but is needed in edit too. Moving this to before the functions means both can use it.
  2. The task was returning false if the user didn't have permissions, when in fact it should return true as a login was successful, but their permissions are checked in finshed()