missing privacy level in api getPrivacyLevels

+4 votes
88 views
The API function getPrivacyLevels does not return all combinations of privacy names and level numbers. For instance, my profile has privacy level 35. The getPrivacyLevels action does not return a name corresponding to this number.
in WikiTree Tech by Doug Henderson G2G6 (7.2k points)

2 Answers

0 votes
So what's the deal?  I'd think there would be protection on access to privacy levels.  For instance if you can "getPrivacy Levels" how do you protect "setPrivacyLevels" (or whatever the program you're using calls it.)

I.e. do you have rights to muck with this api?  I realize this is collaborative outfit,  but there have to be limits when it comes to privacy.
by Dave Dardinger G2G6 Pilot (406k points)

The getPrivacyLevels provides information that is independent of all individuals. It provides a mapping from the numeric privacy level numbers stored in the database to the privacy level names displayed on WikiTree pages. The privacy level names are describe on the Privacy page. Internal to the database, privacy levels are represented by numbers that correspond to these names. This issue reports that I found a number in the data I retrieved that does not have a corresponding name in the the data returned by the getPrivacyLevels action, but which does appear on the Privacy help page.

In general, the API does not allow you to change the live data shown on WikiTree pages, in fact, according to the documentation, the API reads from an almost-live copy of the live data. When you use the API, you can see anything the public can see when they visit WikiTree. When you login to the API with your WikiTree credentials, you can also see anything that you can see when you are logged on to WikiTree.

So, to address your concerns, the API enforces the same privacy restrictions that WikiTree enforces on web pages. A non-logged-in guest will see no private information, and the logged-in user will see only the pages that he is allowed to see on the WikiTree pages.

Well that's good to know.  I'd assumed things had been arranged to prevent loss of security.  But I hadn't known whether that security had anything with what you were working on.  It seems your problem arrises elsewhere.  Good luck figuring it out.
0 votes
This should now be fixed.

Thanks for reporting it, Doug.
by Chris Whitten G2G Astronaut (1.2m points)

Related questions

+7 votes
1 answer
104 views asked Apr 10 in WikiTree Tech by Brian Casey G2G Crew (340 points)
+18 votes
1 answer
273 views asked Jul 19, 2019 in WikiTree Tech by Jamie Nelson G2G6 Pilot (285k points)
+3 votes
1 answer
143 views asked Mar 25, 2019 in WikiTree Tech by ing C.J.S. Vonk G2G Crew (410 points)
+8 votes
1 answer
143 views asked May 20, 2016 in WikiTree Tech by AleŇ° Trtnik G2G6 Pilot (479k points)
+5 votes
1 answer
132 views asked May 15, 2016 in WikiTree Tech by Doug Henderson G2G6 (7.2k points)
+18 votes
1 answer
344 views asked Jul 10, 2015 in The Tree House by Chris Whitten G2G Astronaut (1.2m points)
+19 votes
3 answers
586 views asked Jan 27, 2017 in WikiTree Tech by Greg Shipley G2G6 Mach 6 (68.6k points)
+4 votes
1 answer
67 views asked May 16, 2016 in WikiTree Tech by Doug Henderson G2G6 (7.2k points)
+4 votes
1 answer
131 views asked Feb 19, 2019 in WikiTree Tech by Jan T G2G Crew (620 points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...