Skip to content

[MIGRATO-191] Миграция расширенных прав доступа к инфоблокам#57

Open
TrutnevItsMe wants to merge 2 commits intodevelopfrom
feature/MIGRATO-191
Open

[MIGRATO-191] Миграция расширенных прав доступа к инфоблокам#57
TrutnevItsMe wants to merge 2 commits intodevelopfrom
feature/MIGRATO-191

Conversation

@TrutnevItsMe
Copy link

No description provided.

public function getList(array $filter = array())
{
$dbRes = \CTask::GetList(array(), array("BINDING" => "module"));
$dbRes = \CTask::GetList(array(), array("BINDING" => ["module", "iblock"]));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Как будто не нужно


$record->setId($id);
$record->setXmlId($this->getXmlId($id));
$record->addFieldsRaw($right);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не писать в XML-файл GROUP_CODE (имеет вид G + ID группы) а вычислять его

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрать из XML TASK_ID (т.к. вычисляется)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрать из XML файла ENTITY_TYPE (всегда iblock)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Убрать из XML файла ENTITY_ID (вычисляется по зависимостям)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OVERWRITED, IS_INHERITED, DO_INHERIT=Y убираем

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ПОЛЕ XML_ID убираем из XML файла

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants