Lock data object - what does it do?

#1

Hey everyone,

when I lock an object via context menu it get’s a blue color and is added to the database table of locked objects. But other than that nothing seems to change. I can still edit and save content even as non-admin user.

I was expecting to not be able to change/save/open the locked object anymore as a different user.
Am I wrong? Am I missing some settings?

Thanks in advance!
Basti

1 Like
#2

you cannot move it. thats what it does

2 Likes
#3

So there’s nothing like locking an object from being edited by someone else in Pimcore?
Hmm

#4

There is something, but it doesn’t disable the pimcore UI, it just gives you a Popup that User “XY” is currently editing the object, do you wan’t to continue. If 2 people save the same object at different times, Pimcore compares the modification date from the UI with the one in the database and throws an exception if they aren’t equal.

1 Like
#5

Yes. you are right. I am wondering why delete option is removed from the tree menu not from grid menu. I cannot delete the folder from the tree. I can delete the objects from the grid by selecting it using checkboxes. This makes new pimcore user confuse.

#6

sounds like a bug. please create issue on github https://github.com/pimcore/pimcore/issues :slight_smile:

#7

I created the issue

#8

you are late :stuck_out_tongue: already fixed in https://github.com/pimcore/pimcore/pull/4284 anyways thanks for reporting here!!