I am a Researcher that cannot edit photos unless I submitted them

In which Wildbook did the issue occur? Spot a Shark Australia

What operating system were you using? Windows10

What web browser were you using? Google Chrome

What is your role on the site? Researcher

What happened? New photos are being added for Australia and I am unable to edit them or check the photos because I was not named as the submitter. Sean tells me that this is a bug as researchers used to have the ability to check any photo for Australia.

What did you expect to happen? I expect to be able to edit new photos submitted by anybody for Spot a Shark Australia.

What are some steps we could take to reproduce the issue? I would suggest checking the permissions against the role Researcher and increasing permissions to be able to edit photos submitted by others?

Hi, @Sarah_Aus_SpotaShark !
Interesting. Your user account Sarah Handebeaux does have the regional roles that ought to enable you to edit. Can I trouble you to link me to an encounter or two or three where you are experiencing this inability to edit?
Thanks,
Mark

Hi @MarkF - it happens on the following sighting IDs, but this is just a sample. The edit buttons are unavailable when I launch into any of these:

9d960b6b-22fd-4e5a-8890-23a7242bff43
280a79dc-8639-4904-a6c4-8603880faf69
ae0d28c3-61c9-4f8e-87c6-b98edc47eecd
47b1f8a1-ae08-4f4f-9b16-2e34a83e2238
4ed5cd19-9eec-4905-8f9f-f605b8bf9399
c1e26d8f-2bc1-42ec-95e4-dd2386940941

Hi, @Sarah_Aus_SpotaShark !

It looks like none of these encounters exist!

Are you able to view them??
Here’s what I see when I visit, say, Spot a Shark | Login

Are you seeing the same?
Thanks,
Mark

@MarkF - Nope - something weird is definitely happening as I most certainly can see them. Let me try and share a screenshot

Hi, @Sarah_Aus_SpotaShark !
Interesting. Can I trouble you to click on one of them (i.e., the row in the results table) and tell me what happens?
-Mark

Hi, @Sarah_Aus_SpotaShark !

Aha! Ok, so a few things:

  1. The IDs you gave me are sighting (a.k.a occurrence) IDs rather than encounters IDs! Once I figured that out and investigated the encounters (e.g., Spot a Shark | Login), I realized that
  2. all six of these encounters have the location set to South Bondi but they don’t actually have a locationID, as you’re well aware because you posted about that here. So, once I create that location, I’ll go ahead and
  3. assign these encounters to that location ID and
  4. I’ll grant you and Sean the South Bondi-specific role so that you can edit.

I’ll let you know when I’ve done all of this here (hoping for very soon). Sound good?

Cheers,
Mark

Hi, @Sarah_Aus_SpotaShark !

All of the above has been resolved. Can I trouble you to confirm?

Thanks,
Mark

Hi @MarkF, thank you for adding the South Bondi ID as a new location. However, I still do not have edit rights over the photos, and furthermore for encounters that have not been loaded to any site ID I cannot edit those either.

I will want to have the ability to edit photos for South Bondi initially, but soon I will need the ability to edit photos submitted for all of NSW. Happy to wait for that access, but for now it is critical that I have access to edit the new photos for South Bondi.

For example, Occurrence ID: ae0d28c3-61c9-4f8e-87c6-b98edc47eecd is now against South Bondi but I still cannot edit.

And for example, Occurrence ID: a6845088-9257-4c46-8886-ecf27ff78531 is not yet against South Bondi and I cannot edit the location.

When people submit photos they are not mandated to select a site ID, and so we may always have this issue, so can you please continue fixing this bug so that I can edit all photos?

Hi @MarkF I have found that I am unable to edit lots of photos, even some of those loaded by me, that have been submitted without a location ID. Somehow some of the photos I uploaded are showing up without my name as the submitter too - like this one? Occurrence ID: 57bdf02e-3a88-48fe-8f1d-f037992698db

Very odd. I wonder if there is an underlying bug with the upload feature ?

Hi, @Sarah_Aus_SpotaShark !

Can I ask you to try something?
What happens when you sign in and upload an encounter vs. submitting an encounter from a logged-out state? Being listed under the “submitters” list in an encounter is something slightly different from being the owner of the encounter (which you should be if you are signed in and upload an encounter).

Since you do have roles for all locations in NSW, I would think that you should be able to edit encounters such as Spot a Shark | Login. I’ll be looking into that today.

Not being able to edit a photo that does not have a locationID makes sense to me, because you have the researcher role and then roles based on locations. This makes sense in terms of security for most other Wildbooks, so it’s not a bug.

If you send me a list of ENCOUNTER links (just the URL from the browser when you’re looking at an encounter rather than a sighting/occurrence), as opposed to OccurrenceIDs, that saves me a step, but I can assign those encounters that should have a certain location ID but don’t.
Cheers,
Mark

Hi @MarkF I have tried to run through and send you a list of which ones I cannot edit and to be honest its happening more often than not.

For example, these two do not have location IDs and I cannot edit them:
https://spotashark.com/encounters/encounter.jsp?number=ee22c833-6155-44a7-a637-25e570405686
https://spotashark.com/encounters/encounter.jsp?number=dd46e614-6bed-4505-beb2-664f7f1118a8

And these ones do have location IDs, but I still cannot edit them:
https://spotashark.com/encounters/encounter.jsp?number=7145137e-0643-43f8-98bd-06c764fc49b5
https://spotashark.com/encounters/encounter.jsp?number=ed799481-1b86-462a-86b1-af87ff1b9534
https://spotashark.com/encounters/encounter.jsp?number=f5c854fb-dde8-4bce-947c-a110f970f567
https://spotashark.com/encounters/encounter.jsp?number=4e98c88b-494b-4a64-a667-9c0dfae06fca
https://spotashark.com/encounters/encounter.jsp?number=fb6bda06-fec6-455a-936a-612768c7d079
https://spotashark.com/encounters/encounter.jsp?number=052694f7-88f4-4089-96c8-956b98a8831c
https://spotashark.com/encounters/encounter.jsp?number=69f99615-8576-4c1e-a46f-53ae567cca78
https://spotashark.com/encounters/encounter.jsp?number=2e711215-5a28-4c87-a286-7662f71102c9
https://spotashark.com/encounters/encounter.jsp?number=3cf2d026-f6ee-4de3-931d-5d9bb9a93791
https://spotashark.com/encounters/encounter.jsp?number=51c17285-43ee-4c3f-b504-cd2f5955f5dc
https://spotashark.com/encounters/encounter.jsp?number=0cdb2d7e-63a6-4fc7-b2a8-8571a18361f5
https://spotashark.com/encounters/encounter.jsp?number=19707431-4ea9-483e-b027-09ee5d995c1a
https://spotashark.com/encounters/encounter.jsp?number=6568225c-5c54-4cf8-b4c3-80728f922e69
https://spotashark.com/encounters/encounter.jsp?number=f62cc05a-c15c-4584-9b78-b8a2d7ae9ed4
https://spotashark.com/encounters/encounter.jsp?number=f4c4df97-9359-400b-b352-6e671442334c

There are so many more to go through, but I will be here all day running through and finding the hyperlinks. Perhaps these examples may help you find the source of the problem?

Thanks for helping on this :slight_smile:

Hi, @Sarah_Aus_SpotaShark !
Thanks! That should be really helpful! Can you send me maybe two links of encounters that you CAN edit?
Cheers,
Mark

Hi @MarkF , sure thing!

I can edit these ones, but then I also submitted them.
I cannot edit anything submitted by others at the moment, I don’t think.

https://spotashark.com/encounters/encounter.jsp?number=68e344f9-3462-4ce4-a32a-42b0d1374e4f
https://spotashark.com/encounters/encounter.jsp?number=61dcb9bc-582f-4776-8193-20a9443a1e67

There are another 65 encounters I would need to go through and check if I can edit, which I won’t have time to do today unfortunately. Hopefully what I have shared so far will help you work out what is going wrong.

Thanks again!

1 Like

Hi @MarkF if you find a solution on this one for me? There are a number of edits I need to work on and this issue is preventing me from finishing up my edits. Wondered if perhaps as an interim solution if I could be added as admin as well as Sean - or can only one person be admin at once?

Hi, @Sarah_Aus_SpotaShark !

I just asked on my side. Is @Sean_Aus_SpotaShark comfortable with that?

Also, I’m currently working on safely purging SAS USA entries from the SAS AUS database. After that, there’s an urgent ticket on another project that I’m committed to. Afterwards, I’ll get to whichever resolution is agreed upon herein.

Wishing I had clones,
Mark

Hi, @Sarah_Aus_SpotaShark !
We’re all cool with it if Sean is.
-Mark

@MarkF - all good from my side as Sarah is working with me now.

1 Like

Hi, @Sarah_Aus_SpotaShark and @Sean_Aus_SpotaShark ! It is done!
-Mark