updatelayers doesn't set Layer owner
Running updatelayers the Layer owner is not set.
After adding this:
'owner': User.objects.filter(is_superuser=True).order_by('id')[0]
at line 634 in maps/models.py the owner is set correctly. This might help to address the issue.
@ingenieroariel @dwins @iwillig does this seem like a reasonable assumption to just set the owner to the first superuser in the system? If so, @simod can you just make a pull request against lastest master for this fix and we can pull it. Seems like we also dont set the roles when layers are added this way which #239 discusses.
@simod is this still an issue. I believe it was fixed in dev, but not sure. If so, lets close it.
@jj0hns0n Yes it's solved. Admin is the default owner of new imported layers. Closing.