|
|
@@ -3284,7 +3284,7 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
|
|
|
return self.cluster() && self.cluster()['type'] == 'altus-dw2';
|
|
|
};
|
|
|
var schedulerInterfaceCondition = function () {
|
|
|
- return '${ user.has_hue_permission(action="access", app="oozie") }' == 'True' && (!self.cluster() || self.cluster()['type'].indexOf('altus') == -1);
|
|
|
+ return '${ user.has_hue_permission(action="access", app="oozie") }' == 'True' && (!self.cluster() || self.cluster()['type'].indexOf('altus') == -1) && self.appConfig() && self.appConfig()['scheduler'];
|
|
|
};
|
|
|
var schedulerExtraInterfaceCondition = function () {
|
|
|
return '${ is_mini }' == 'False' && schedulerInterfaceCondition();
|