-
Bug
-
Resolution: Fixed
-
Medium
-
5.1.3, 5.4.2, 5.5.4, 5.7, 5.7.1
-
None
Description
When adding or removing permissions from a page with many child pages, Confluence times out
Steps to reproduce
- Find a page with a great number of child pages (100-1000+).
- Attempt to add restrictions to it.
- Watch the spinning wheel going for a long time (often +30s)
- Indexing queue <Confluence_URL>/admin/viewindexqueue.action, Time taken > ~51342ms
Workaround
Based on How to remove all restrictions from pages within a space to remove restrictions from just one page:
Please test these scripts first in a development environment. You are responsible for confirming they are correct for your system
- Find the PageId of the page you want to remove permissions from by looking at the URL when editing it, or running the query (where <page title> is the title of the page).
select CONTENTID from CONTENT where contenttype = 'PAGE' and TITLE = '<page title>';
- Then you delete the parent page permissions by running (where <contentid> is the PageId).
delete from CONTENT_PERM WHERE CPS_ID IN (select ID from CONTENT_PERM_SET WHERE CONTENT_ID = <contentid>); delete from CONTENT_PERM_SET WHERE CONTENT_ID = <contentid>;
- is duplicated by
-
CONFSERVER-37352 Page restrictions timeout
- Closed
-
CONFSERVER-37353 Page restrictions timeout
- Closed
- is related to
-
CONFSERVER-17866 Restriction dialog is extremely slow to update, and provides no user feedback
- Closed
-
CONFSERVER-39608 Page Restrictions action is too slow when a large number of group or user restriction on a page in a large space
- Closed
- relates to
-
CONFSERVER-43191 Children Display Macro slow due to poor permission check performance
- Closed
- included in
-
CPU-121 Confluence 6.0.0-OD-2015.49.1-0002
-
CPU-139 Confluence 6.0.0-OD-2015.49.1-0003
-
CPU-141 Confluence 6.0.0-OD-2015.50.1-0003