Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the best way to approach locks (AccessDenied, object has violated one or more lock constraints)?

0
Posted

What is the best way to approach locks (AccessDenied, object has violated one or more lock constraints)?

0

There are two primary types of locks leveraged by the repository–external and internal. External locks are defined by the JCR specification and allow users to place locks on items to prohibit certain actions from other users. WCM supports only a “write” lock on a per-node basis within the product’s implementation which means that user with the proper permission (PAC Action EDIT (EDITOR role)) can “lock” a node within the system. This “external” lock prohibits any other user from being able to persist changes to that node. In particular to be able to call save on that node alone. Interestingly enough it doesn’t prohibit another user from indirectly modifying the node by operating on its parent (ie: another user could still delete the locked node by deleting its parent node). Internal locks are known as “consistency” locks. These locks are used by the internal implementation to attempt to prohibit situations where merge conflicts or consistency conflicts could be encountered. For instan

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123