mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Finished implementing the user rights by profile (simple)
SVN:trunk[695]
This commit is contained in:
@@ -255,11 +255,6 @@ class BenchmarkDataCreation
|
||||
$aActions = array('Read', 'Bulk Read', 'Delete', 'Bulk Delete', 'Modify', 'Bulk Modify');
|
||||
$aStdProfiles = array(2, 3, 4, 5, 6, 7, 8, 9);
|
||||
|
||||
////////////////////////////////////////
|
||||
// Dimension: Organization
|
||||
//
|
||||
$iDimension = self::FindId('URP_Dimensions');
|
||||
|
||||
////////////////////////////////////////
|
||||
// New specific profile, giving access to everything
|
||||
//
|
||||
@@ -281,13 +276,6 @@ class BenchmarkDataCreation
|
||||
$this->CreateObject('URP_ActionGrant', $aData);
|
||||
}
|
||||
}
|
||||
$aData = array(
|
||||
'dimensionid' => $iDimension,
|
||||
'profileid' => $iGuruProfile,
|
||||
'value' => '<any>',
|
||||
'attribute' => '',
|
||||
);
|
||||
$this->CreateObject('URP_ProfileProjection', $aData);
|
||||
|
||||
// User login with super access rights
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user