Fixed inclusion of contexts in instaces
This commit is contained in:
parent
cbc4c78efc
commit
1924cef56d
|
@ -55,8 +55,8 @@ public class BaseRest {
|
|||
boolean includeContexts = Boolean.valueOf(includeContextsBooleanString);
|
||||
boolean i = includeContexts && isRequesterAllowedToRequestInstancesContexts();
|
||||
if(i) {
|
||||
logger.info("The request was performed in hierarchical mode and the requester is allowed. Going to set hierarchical mode.");
|
||||
ContextUtility.getHierarchicalMode().set(i);
|
||||
logger.info("The requet to include the contexts in header is allowed.");
|
||||
ContextUtility.getIncludeInstanceContexts().set(true);
|
||||
}
|
||||
}
|
||||
}catch (Throwable t) {
|
||||
|
|
Loading…
Reference in New Issue