archesproject/arches

Recent Edits: Resource Created event has Editor: None

Opened this issue · 3 comments

The "Editor" of a newly created Resource should be the user that creates the resource, not "None"
EDIT: this was in arches 7.6.2

Screenshot 2024-10-14 at 4 53 50 PM

The DEFAULT_RESOURCE_IMPORT_USER should be used when the user is not known (as is the case for some cli operations).

perhaps it ought to be used but as far as I can tell it wasn't being used. The settings.py in my project had an identical setting to the arches default, i.e. DEFAULT_RESOURCE_IMPORT_USER = {'username': 'admin', 'userid': 1}

I haven't recreated it recently so this is just a guess but maybe this is the reason a userid doesn't get set?