geocollections / geokogud2

Eesti geokogude infosüsteem
https://geocollections.info
GNU Affero General Public License v3.0
0 stars 0 forks source link

Do not show private references #161

Closed enmust closed 5 years ago

enmust commented 5 years ago

Added reference from data management portal with is_private set to true but can still see it. http://geocollections.info/reference http://geocollections.info/reference/8884

enmust commented 5 years ago

https://rwapi.geocollections.info/reference/8884

ollehints commented 5 years ago

Seems to works OK for other objects like files and there is no exception set for references in the API code. A problem with the new code that deals with private related records?

ollehints commented 5 years ago

was a problem in models definition, corrected now.