Expand my Community achievements bar.

SOLVED

Can't delete page as 'admin'

Avatar

Level 4

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?

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

4 Replies

Avatar

Level 10

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]

Avatar

Correct answer by
Level 10

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.

Avatar

Level 2

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

Avatar

Level 4

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