Expand my Community achievements bar.

lir
lir
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I will, try but not quite optimistic because as a stated earlier:- before asking the question in this forum, I made a quick attempt using the deprecated getAdministrativeResourceResolver(null); to get an admin session (who according to documentation should be able to unlock everything), but unlockin...

    Type

    Questions

    Views

    5.3K

    Like

    1

    Replies

    0
  • Hi, I tested and confirmed that a "system user" cannot unlock a page unless he owns the lock, no matter the permissions I give to him.He owns the lock only if he did the locking, in which case he can unlock.We are using version 6.2This is a problem!! can you please adviseThanks

    Type

    Questions

    Views

    5.3K

    Like

    1

    Replies

    0
  • Thank you for the detailed reply!A few things again about my case:- the user who locks the page is the workflow initiator, NOT a system user- my code needs to unlock the pages, no matter who did lock them.- I'm not sure if in your example, you mapped a different user when unlocking under your "datap...

    Type

    Questions

    Views

    5.3K

    Likes

    2

    Replies

    0
  • 1- an AEM user initiates my custom workflow on a page2- my WorkflowProcess implementation code, locks the page under the initiator session. This means that the initiator owns the lock of that page.3- on a further down workflow step, my code needs to unlock the page, but the AEM user completing the s...

    Type

    Questions

    Views

    5.3K

    Like

    1

    Replies

    0
  • Thanks for the reply,Can't I use the unlock() method of com.day.cq.wcm.api.Page ?I already use Page's lock() method to lock it.

    Type

    Questions

    Views

    5.3K

    Like

    1

    Replies

    0
  • Hi,While coding a WorkflowProcess implementation, I need to create a "system user" who can unlock pages.Pages are locked through a WorkflowSession on a previous workflow step.How can I give the "system user" the permissions to unlock pages?Obviously I don't what to use an admin session, and I'm wond...

    Type

    Questions

    Views

    8.2K

    Likes

    0

    Replies

    28