Ticket #864 (closed Task: worksforme)

Opened 5 years ago

Last modified 5 years ago

question: default init of owner property when anonymous creates topics is "admin"

Reported by: Malte Owned by: jri
Priority: Major Milestone: Release 4.8
Component: DeepaMehta Standard Distribution Version: 4.7
Keywords: Cc:
Complexity: 3 Area:
Module: deepamehta-webservice

Description

The wikidata plugin creates topics after processing a GET Request (Search Bucket) and this can be done unauthenticated (anonymously). When i then call the topics "Get info" method it shows me that "admin" is the "Owner" of the topics created by "Anonymous".

Background:
If my search endpoint would be a "POST"-like resource unauthenticated users could not search. My DM4 setting is "write_requires_login=true".

Question:
Is this correct behavior or do you consider this a bug? Shouldn't it be "Unknown" or is it a must (as of version 4.7) that a known "Owner" is set on any topic/association?

Change History

comment:1 Changed 5 years ago by jri

Since DM 4.5 a topic/association does not have an individual owner anymore (see #592). Only a workspace has an owner. The owner displayed in the webclient's "Get Info" dialog is the owner of the workspace the topic/association is assigned to.

Note: a topic/association still have an individual creator/modifier tough. If it is created by "anonymous" the creator and modifier are displayed as "undefined".

comment:2 Changed 5 years ago by Malte

  • Status changed from new to closed
  • Resolution set to worksforme

Thank you for the answer, everything looks good, i did not see the "Creator" info (which are actually there) in the "Get info" dialog.

Note: See TracTickets for help on using tickets.