opengisch / QFieldCloud

QFieldCloud allows seamless synchronization of your field data with your spatial infrastructure with change tracking, team management and online-offline work capabilities in QField.
https://qfield.cloud
MIT License
114 stars 51 forks source link

Deleting project collaboraters deletes the project?!? #959

Open 9ls1 opened 3 months ago

9ls1 commented 3 months ago

We have our own (self-hosted) QFieldCloud (ver. 0.26.4) installed on a server. Everything is working more or less very nicely.

However, today I wanted to remove project collaborators from a project from the QFieldCloud admin webpage (https://\/admin/core/project). I checked the box to the right of the collaborator and clicked Delete. I was in a hurry, so I didn't read the information carefully and just clicked "Yes, I'm sure" (I knew which collaborators I wanted to remove and I had checked the correct boxes). Too late I detected that I deleted the whole project from the cloud! I only wanted to delete three collaborator (out of four). And that's what I expected within the "Project collaborators"-tab (just an example from another project with only one collaborator). Here I would check the check box to the right: image

When I want to delete the whole project, I have done it from the Projects list: image

I know I can blame myself for not reading carefully enough, but I would suggest that it should be possible to only delete (remove) collaborators within the "Project collaborators"-tab. (Luckily, we have back-up routines of the self-hosted cloud, so I could retrieve the deleted project.)

P.t. how do I delete (only) collaborators from a project in QFieldCloud admin?

9ls1 commented 1 month ago

I've figured it out: Check the Delete-check box(es) to the right for the collaborators you want to delete (remove) and click Save. image

Reopen the project and the Project collaborators-tab, and you'll see the collaborator(s) are gone. image