N°2713 - Allow read accès to synchro errors for users with non-admin profile

This commit is contained in:
odain
2021-03-25 11:27:51 +01:00
parent 50af948c9f
commit 89205a66ad
3 changed files with 4 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ require_once(APPROOT.'/application/application.inc.php');
require_once(APPROOT.'/application/startup.inc.php');
require_once(APPROOT.'/application/loginwebpage.class.inc.php');
LoginWebPage::DoLogin(true); // Check user rights and prompt if needed, admins only here !
LoginWebPage::DoLogin(); // Check user rights and prompt if needed, admins only here !
$sOperation = utils::ReadParam('operation', 'menu');
$oAppContext = new ApplicationContext();

View File

@@ -2017,7 +2017,7 @@ class SynchroReplica extends DBObject implements iDisplay
{
$aParams = array
(
'category' => 'core/cmdb,view_in_gui',
'category' => 'core/cmdb,view_in_gui,grant_by_profile',
'key_type' => 'autoincrement',
'name_attcode' => '',
'state_attcode' => '',