Open anthoc opened 4 years ago
Actually, even if i am logged as admin I can't see these actions from custom view either.
I figured it out by modifying the following files :
/usr/share/centreon/www/widgets/host-monitoring/src/action.php :
/* host: schedule check */
case 90 :
$command = "SCHEDULE_HOST_CHECK;%s;" . time();
break;
case 91 :
$command = "SCHEDULE_FORCED_HOST_CHECK;%s;" . time();
break;
/usr/share/centreon/www/widgets/host-monitoring/src/action.php :
if ($canDoAction || $centreon->user->access->checkAction("host_schedule_check")) {
$actions .= "<option value='90'>"._("Host: Schedule Immediate Check")."</option>";
}
if ($canDoAction || $centreon->user->access->checkAction("host_schedule_forced_check")) {
$actions .= "<option value='91'>"._("Host: Schedule Immediate Check (Forced)")."</option>";
}
Hello,
I am just checking if there is any update on this request ? I just updated our server to 21.04 and I had to modify the files manually. Thank you very much :)
Operating System
CentOS Linux release 7.7.1908 (Core)
Browser used
Google Chrome 80.0.3987.149 (Build officiel) (64 bits) Same Behaviour on Firefox 74.0 (32-bit)
Steps to Reproduce
Hello
I created ACL with limited actions for limited user: I activated "more actions" menu in the customer view of limited users
Describe the received result
The two following actions are not displayed in the more actions menu of the custom view:
But it is dissplayed for the following two actions:
It is not an ACL configuration error, because with the same user if i check the more actions list from the Monitoring menu, everything is there:
Describe the expected result
The following actions should be available in the more actions menu of the custom view:
Thank you very much in advance.