Skip to content

Patched map file is saved although access rights are wrong #952

@jirik

Description

@jirik

Steps to reproduce:

  • POST Workspace Map in private workspace A with r/w access to EVERYONE
  • User B sends PATCH of the same map with another file and r/w access set to user B; Layman returns error 43 "Owner of the personal workspace have to keep write right."
  • call GET Workspace Map File by user B

Expected behavior:

  • Returned file is the original posted file

Actual behavior:

  • Returned file is the new patched file. Also, some keys, e.g. name, can be missing

It probably happens also for layers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions