public static function getRightsForItems($moduleId, $projectId, $userId, array $itemIds) { $acl = Phprojekt_Item_Rights::getItemRights($moduleId, $itemIds, $userId); return self::mergeWithRole($moduleId, $projectId, $userId, $acl); }