mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°2713 - Allow read accès to synchro errors for users with non-admin profile
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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' => '',
|
||||
|
||||
Reference in New Issue
Block a user