com.atlassian.confluence.search.scope
Class PermittedPagesScope
java.lang.Object
com.atlassian.confluence.search.scope.PermittedPagesScope
- All Implemented Interfaces:
- ConfluenceSearchScope
public class PermittedPagesScope
- extends Object
- implements ConfluenceSearchScope
Limits a search to only that content the user can see due to page-level permissions. This bean should
not be kept in saved searches - it should be applied on top of an existing search
You shouldn't have to use this search directly - just use SecureScope
- See Also:
SecureScope
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermittedPagesScope
public PermittedPagesScope(UserAccessor userAccessor,
List availableGroups)
restrictQuery
public void restrictQuery(User user,
BooleanQuery query)
- Specified by:
restrictQuery in interface ConfluenceSearchScope