Can't delete page as 'admin' | Community
Skip to main content
JS_Bournival
Level 3
October 16, 2015
Solved

Can't delete page as 'admin'

  • October 16, 2015
  • 4 replies
  • 1854 views

Hi, I'm having a hard time understanding this issue.

I have this page in our content hierarchy under which if I create a page, I cannot delete it, even though I am 'admin' with the jcr:all permission set.

[img]CQ5_WCM___Web.png[/img]

Am I missing something?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Make sure jcr:content is not missing below the test (/<path>/test) page.   If not exists go to crx explorer and add the node jcr:content see if it helps.

To debug use firebug and see you are getting any forbidden error in network traffic.

4 replies

smacdonald2008
Level 10
October 16, 2015

According to this topic: http://dev.day.com/docs/en/cq/current/wcm/page_create_edit.html - if you have admin, you can delete a page. If you have admin privileges and still cannot delete the page,  it may be a bug of some sort. I have not encountered this situation before. You should see a delete option such as:

 

[img]delete.png[/img]

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Make sure jcr:content is not missing below the test (/<path>/test) page.   If not exists go to crx explorer and add the node jcr:content see if it helps.

To debug use firebug and see you are getting any forbidden error in network traffic.

Gregor_Zurowski
Level 2
October 16, 2015

Hi,

You might want to check that all pages in your page's content path have proper jcr:content nodes.  If a jcr:content node or some of its vital properties (e.g. jcr:primaryType) are missing in the page's upstream content hierarchy, CQ's security management might not be able to calculate permissions.  You can also check in the security console (http://<host:port>/useradmin) if the admin user is missing privileges on your page (or in your page's content path).  If you have this type of problem, you will receive an error message once you try to grant and save permissions ("No such node /your/page/path").

Thanks,
Gregor

JS_Bournival
Level 3
October 16, 2015

is there a way to debug this? the permission calculation?