mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-08 12:33:21 +03:00
fix(role-compile): формат Role.xml и Rights.xml как у платформы
Навык писал шапку многострочно (каждое объявление своей строкой) и отступы четырьмя пробелами, тогда как платформа пишет шапку одной строкой и отступы табами. На каждой роли это давало диff во всю длину файла — шум, из-за которого реальные расхождения не видны. Сверено с выгрузкой УНФ 8.5: скелет Role.xml совпал с платформенным полностью (с точностью до uuid и текстов). 1С-сертификация: 10/10 кейсов загружаются. Снэпшоты обновлены — дрейф только ожидаемый (склейка шапки и пробелы→табы). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
5c3449d6c2
commit
5bcf6d08cd
@@ -1,4 +1,4 @@
|
|||||||
# role-compile v1.17 — Compile 1C role from JSON
|
# role-compile v1.18 — Compile 1C role from JSON
|
||||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory)]
|
[Parameter(Mandatory)]
|
||||||
@@ -679,45 +679,30 @@ $uuid = [guid]::NewGuid().ToString()
|
|||||||
$script:xmlBuf = New-Object System.Text.StringBuilder 4096
|
$script:xmlBuf = New-Object System.Text.StringBuilder 4096
|
||||||
|
|
||||||
X '<?xml version="1.0" encoding="UTF-8"?>'
|
X '<?xml version="1.0" encoding="UTF-8"?>'
|
||||||
X '<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"'
|
# Объявления пространств имён — одной переменной и одной строкой, как пишет платформа.
|
||||||
X ' xmlns:app="http://v8.1c.ru/8.2/managed-application/core"'
|
$xmlnsDecl = 'xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
|
||||||
X ' xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"'
|
# 2.21 (8.5) добавила в шапку пространство палитры. Вставляем НА МЕСТО (после lf, перед style):
|
||||||
X ' xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"'
|
|
||||||
X ' xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"'
|
|
||||||
X ' xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"'
|
|
||||||
# 2.21 (8.5) добавила в шапку пространство палитры. Место строгое — после lf, перед style:
|
|
||||||
# платформа держит объявления по алфавиту. В Rights.xml палитра НЕ идёт (проверено по выгрузке 8.5).
|
# платформа держит объявления по алфавиту. В Rights.xml палитра НЕ идёт (проверено по выгрузке 8.5).
|
||||||
if ((Get-FormatRank $formatVersion) -ge 221) {
|
if ((Get-FormatRank $formatVersion) -ge 221) {
|
||||||
X ' xmlns:pal="http://v8.1c.ru/8.1/data/ui/colors/palette"'
|
$xmlnsDecl = $xmlnsDecl -replace ' xmlns:style=', ' xmlns:pal="http://v8.1c.ru/8.1/data/ui/colors/palette" xmlns:style='
|
||||||
}
|
}
|
||||||
X ' xmlns:style="http://v8.1c.ru/8.1/data/ui/style"'
|
X "<MetaDataObject $xmlnsDecl version=`"$formatVersion`">"
|
||||||
X ' xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"'
|
X "`t<Role uuid=`"$uuid`">"
|
||||||
X ' xmlns:v8="http://v8.1c.ru/8.1/data/core"'
|
X "`t`t<Properties>"
|
||||||
X ' xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"'
|
X "`t`t`t<Name>$roleName</Name>"
|
||||||
X ' xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"'
|
X "`t`t`t<Synonym>"
|
||||||
X ' xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"'
|
X "`t`t`t`t<v8:item>"
|
||||||
X ' xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"'
|
X "`t`t`t`t`t<v8:lang>ru</v8:lang>"
|
||||||
X ' xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"'
|
X "`t`t`t`t`t<v8:content>$(Esc-Xml $synonym)</v8:content>"
|
||||||
X ' xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"'
|
X "`t`t`t`t</v8:item>"
|
||||||
X ' xmlns:xs="http://www.w3.org/2001/XMLSchema"'
|
X "`t`t`t</Synonym>"
|
||||||
X ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
|
|
||||||
X " version=`"$formatVersion`">"
|
|
||||||
X " <Role uuid=`"$uuid`">"
|
|
||||||
X ' <Properties>'
|
|
||||||
X " <Name>$roleName</Name>"
|
|
||||||
X ' <Synonym>'
|
|
||||||
X ' <v8:item>'
|
|
||||||
X ' <v8:lang>ru</v8:lang>'
|
|
||||||
X " <v8:content>$(Esc-Xml $synonym)</v8:content>"
|
|
||||||
X ' </v8:item>'
|
|
||||||
X ' </Synonym>'
|
|
||||||
if ($comment) {
|
if ($comment) {
|
||||||
X " <Comment>$(Esc-Xml $comment)</Comment>"
|
X "`t`t`t<Comment>$(Esc-Xml $comment)</Comment>"
|
||||||
} else {
|
} else {
|
||||||
X ' <Comment/>'
|
X "`t`t`t<Comment/>"
|
||||||
}
|
}
|
||||||
X ' </Properties>'
|
X "`t`t</Properties>"
|
||||||
X ' </Role>'
|
X "`t</Role>"
|
||||||
X '</MetaDataObject>'
|
X '</MetaDataObject>'
|
||||||
|
|
||||||
$metadataXml = $script:xmlBuf.ToString()
|
$metadataXml = $script:xmlBuf.ToString()
|
||||||
@@ -727,48 +712,45 @@ $metadataXml = $script:xmlBuf.ToString()
|
|||||||
$script:xmlBuf = New-Object System.Text.StringBuilder 8192
|
$script:xmlBuf = New-Object System.Text.StringBuilder 8192
|
||||||
|
|
||||||
X '<?xml version="1.0" encoding="UTF-8"?>'
|
X '<?xml version="1.0" encoding="UTF-8"?>'
|
||||||
X '<Rights xmlns="http://v8.1c.ru/8.2/roles"'
|
X "<Rights xmlns=`"http://v8.1c.ru/8.2/roles`" xmlns:xs=`"http://www.w3.org/2001/XMLSchema`" xmlns:xsi=`"http://www.w3.org/2001/XMLSchema-instance`" xsi:type=`"Rights`" version=`"$formatVersion`">"
|
||||||
X ' xmlns:xs="http://www.w3.org/2001/XMLSchema"'
|
|
||||||
X ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
|
|
||||||
X " xsi:type=`"Rights`" version=`"$formatVersion`">"
|
|
||||||
|
|
||||||
# Global flags (defaults match typical 1C roles)
|
# Global flags (defaults match typical 1C roles)
|
||||||
$sfno = if ($null -ne $def.setForNewObjects) { "$($def.setForNewObjects)".ToLower() } else { "false" }
|
$sfno = if ($null -ne $def.setForNewObjects) { "$($def.setForNewObjects)".ToLower() } else { "false" }
|
||||||
$sfab = if ($null -ne $def.setForAttributesByDefault) { "$($def.setForAttributesByDefault)".ToLower() } else { "true" }
|
$sfab = if ($null -ne $def.setForAttributesByDefault) { "$($def.setForAttributesByDefault)".ToLower() } else { "true" }
|
||||||
$irco = if ($null -ne $def.independentRightsOfChildObjects) { "$($def.independentRightsOfChildObjects)".ToLower() } else { "false" }
|
$irco = if ($null -ne $def.independentRightsOfChildObjects) { "$($def.independentRightsOfChildObjects)".ToLower() } else { "false" }
|
||||||
|
|
||||||
X " <setForNewObjects>$sfno</setForNewObjects>"
|
X "`t<setForNewObjects>$sfno</setForNewObjects>"
|
||||||
X " <setForAttributesByDefault>$sfab</setForAttributesByDefault>"
|
X "`t<setForAttributesByDefault>$sfab</setForAttributesByDefault>"
|
||||||
X " <independentRightsOfChildObjects>$irco</independentRightsOfChildObjects>"
|
X "`t<independentRightsOfChildObjects>$irco</independentRightsOfChildObjects>"
|
||||||
|
|
||||||
# Object blocks
|
# Object blocks
|
||||||
$totalRights = 0
|
$totalRights = 0
|
||||||
foreach ($obj in $parsedObjects) {
|
foreach ($obj in $parsedObjects) {
|
||||||
X ' <object>'
|
X "`t<object>"
|
||||||
X " <name>$($obj.Name)</name>"
|
X "`t`t<name>$($obj.Name)</name>"
|
||||||
foreach ($right in $obj.Rights) {
|
foreach ($right in $obj.Rights) {
|
||||||
X ' <right>'
|
X "`t`t<right>"
|
||||||
X " <name>$($right.Name)</name>"
|
X "`t`t`t<name>$($right.Name)</name>"
|
||||||
X " <value>$($right.Value)</value>"
|
X "`t`t`t<value>$($right.Value)</value>"
|
||||||
if ($right.Condition) {
|
if ($right.Condition) {
|
||||||
X ' <restrictionByCondition>'
|
X "`t`t`t<restrictionByCondition>"
|
||||||
X " <condition>$(Esc-Xml $right.Condition)</condition>"
|
X "`t`t`t`t<condition>$(Esc-Xml $right.Condition)</condition>"
|
||||||
X ' </restrictionByCondition>'
|
X "`t`t`t</restrictionByCondition>"
|
||||||
}
|
}
|
||||||
X ' </right>'
|
X "`t`t</right>"
|
||||||
$totalRights++
|
$totalRights++
|
||||||
}
|
}
|
||||||
X ' </object>'
|
X "`t</object>"
|
||||||
}
|
}
|
||||||
|
|
||||||
# RLS restriction templates
|
# RLS restriction templates
|
||||||
$templateCount = 0
|
$templateCount = 0
|
||||||
if ($def.templates) {
|
if ($def.templates) {
|
||||||
foreach ($tpl in $def.templates) {
|
foreach ($tpl in $def.templates) {
|
||||||
X ' <restrictionTemplate>'
|
X "`t<restrictionTemplate>"
|
||||||
X " <name>$(Esc-Xml "$($tpl.name)")</name>"
|
X "`t`t<name>$(Esc-Xml "$($tpl.name)")</name>"
|
||||||
X " <condition>$(Esc-Xml "$($tpl.condition)")</condition>"
|
X "`t`t<condition>$(Esc-Xml "$($tpl.condition)")</condition>"
|
||||||
X ' </restrictionTemplate>'
|
X "`t</restrictionTemplate>"
|
||||||
$templateCount++
|
$templateCount++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# role-compile v1.17 — Compile 1C role from JSON
|
# role-compile v1.18 — Compile 1C role from JSON
|
||||||
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
# Source: https://github.com/Nikolay-Shirokov/cc-1c-skills
|
||||||
import argparse
|
import argparse
|
||||||
import json
|
import json
|
||||||
@@ -687,43 +687,30 @@ def main():
|
|||||||
# --- 4. Emit metadata XML (Roles/Name.xml) ---
|
# --- 4. Emit metadata XML (Roles/Name.xml) ---
|
||||||
lines = []
|
lines = []
|
||||||
lines.append('<?xml version="1.0" encoding="UTF-8"?>')
|
lines.append('<?xml version="1.0" encoding="UTF-8"?>')
|
||||||
lines.append('<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"')
|
# Объявления пространств имён — одной переменной и одной строкой, как пишет платформа.
|
||||||
lines.append(' xmlns:app="http://v8.1c.ru/8.2/managed-application/core"')
|
xmlns_decl = ('xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"')
|
||||||
lines.append(' xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"')
|
# 2.21 (8.5) добавила в шапку пространство палитры. Вставляем НА МЕСТО (после lf, перед
|
||||||
lines.append(' xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"')
|
# style): платформа держит объявления по алфавиту. В Rights.xml палитра НЕ идёт.
|
||||||
lines.append(' xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"')
|
|
||||||
lines.append(' xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"')
|
|
||||||
# 2.21 (8.5) добавила в шапку пространство палитры. Место строгое — после lf, перед style:
|
|
||||||
# платформа держит объявления по алфавиту. В Rights.xml палитра НЕ идёт (проверено по выгрузке 8.5).
|
|
||||||
if format_rank(format_version) >= 221:
|
if format_rank(format_version) >= 221:
|
||||||
lines.append(' xmlns:pal="http://v8.1c.ru/8.1/data/ui/colors/palette"')
|
xmlns_decl = xmlns_decl.replace(
|
||||||
lines.append(' xmlns:style="http://v8.1c.ru/8.1/data/ui/style"')
|
' xmlns:style=',
|
||||||
lines.append(' xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"')
|
' xmlns:pal="http://v8.1c.ru/8.1/data/ui/colors/palette" xmlns:style=')
|
||||||
lines.append(' xmlns:v8="http://v8.1c.ru/8.1/data/core"')
|
lines.append(f'<MetaDataObject {xmlns_decl} version="{format_version}">')
|
||||||
lines.append(' xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"')
|
lines.append(f'\t<Role uuid="{uid}">')
|
||||||
lines.append(' xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"')
|
lines.append('\t\t<Properties>')
|
||||||
lines.append(' xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"')
|
lines.append(f'\t\t\t<Name>{role_name}</Name>')
|
||||||
lines.append(' xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"')
|
lines.append('\t\t\t<Synonym>')
|
||||||
lines.append(' xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"')
|
lines.append('\t\t\t\t<v8:item>')
|
||||||
lines.append(' xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"')
|
lines.append('\t\t\t\t\t<v8:lang>ru</v8:lang>')
|
||||||
lines.append(' xmlns:xs="http://www.w3.org/2001/XMLSchema"')
|
lines.append(f'\t\t\t\t\t<v8:content>{esc_xml(synonym)}</v8:content>')
|
||||||
lines.append(' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"')
|
lines.append('\t\t\t\t</v8:item>')
|
||||||
lines.append(f' version="{format_version}">')
|
lines.append('\t\t\t</Synonym>')
|
||||||
lines.append(f' <Role uuid="{uid}">')
|
|
||||||
lines.append(' <Properties>')
|
|
||||||
lines.append(f' <Name>{role_name}</Name>')
|
|
||||||
lines.append(' <Synonym>')
|
|
||||||
lines.append(' <v8:item>')
|
|
||||||
lines.append(' <v8:lang>ru</v8:lang>')
|
|
||||||
lines.append(f' <v8:content>{esc_xml(synonym)}</v8:content>')
|
|
||||||
lines.append(' </v8:item>')
|
|
||||||
lines.append(' </Synonym>')
|
|
||||||
if comment:
|
if comment:
|
||||||
lines.append(f' <Comment>{esc_xml(comment)}</Comment>')
|
lines.append(f'\t\t\t<Comment>{esc_xml(comment)}</Comment>')
|
||||||
else:
|
else:
|
||||||
lines.append(' <Comment/>')
|
lines.append('\t\t\t<Comment/>')
|
||||||
lines.append(' </Properties>')
|
lines.append('\t\t</Properties>')
|
||||||
lines.append(' </Role>')
|
lines.append('\t</Role>')
|
||||||
lines.append('</MetaDataObject>')
|
lines.append('</MetaDataObject>')
|
||||||
|
|
||||||
metadata_xml = '\r\n'.join(lines)
|
metadata_xml = '\r\n'.join(lines)
|
||||||
@@ -731,45 +718,44 @@ def main():
|
|||||||
# --- 5. Emit Rights XML (Roles/Name/Ext/Rights.xml) ---
|
# --- 5. Emit Rights XML (Roles/Name/Ext/Rights.xml) ---
|
||||||
lines = []
|
lines = []
|
||||||
lines.append('<?xml version="1.0" encoding="UTF-8"?>')
|
lines.append('<?xml version="1.0" encoding="UTF-8"?>')
|
||||||
lines.append('<Rights xmlns="http://v8.1c.ru/8.2/roles"')
|
lines.append('<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema"'
|
||||||
lines.append(' xmlns:xs="http://www.w3.org/2001/XMLSchema"')
|
' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights"'
|
||||||
lines.append(' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"')
|
f' version="{format_version}">')
|
||||||
lines.append(f' xsi:type="Rights" version="{format_version}">')
|
|
||||||
|
|
||||||
# Global flags
|
# Global flags
|
||||||
sfno = str(defn['setForNewObjects']).lower() if defn.get('setForNewObjects') is not None else 'false'
|
sfno = str(defn['setForNewObjects']).lower() if defn.get('setForNewObjects') is not None else 'false'
|
||||||
sfab = str(defn['setForAttributesByDefault']).lower() if defn.get('setForAttributesByDefault') is not None else 'true'
|
sfab = str(defn['setForAttributesByDefault']).lower() if defn.get('setForAttributesByDefault') is not None else 'true'
|
||||||
irco = str(defn['independentRightsOfChildObjects']).lower() if defn.get('independentRightsOfChildObjects') is not None else 'false'
|
irco = str(defn['independentRightsOfChildObjects']).lower() if defn.get('independentRightsOfChildObjects') is not None else 'false'
|
||||||
|
|
||||||
lines.append(f' <setForNewObjects>{sfno}</setForNewObjects>')
|
lines.append(f'\t<setForNewObjects>{sfno}</setForNewObjects>')
|
||||||
lines.append(f' <setForAttributesByDefault>{sfab}</setForAttributesByDefault>')
|
lines.append(f'\t<setForAttributesByDefault>{sfab}</setForAttributesByDefault>')
|
||||||
lines.append(f' <independentRightsOfChildObjects>{irco}</independentRightsOfChildObjects>')
|
lines.append(f'\t<independentRightsOfChildObjects>{irco}</independentRightsOfChildObjects>')
|
||||||
|
|
||||||
# Object blocks
|
# Object blocks
|
||||||
total_rights = 0
|
total_rights = 0
|
||||||
for obj in parsed_objects:
|
for obj in parsed_objects:
|
||||||
lines.append(' <object>')
|
lines.append('\t<object>')
|
||||||
lines.append(f' <name>{obj["Name"]}</name>')
|
lines.append(f'\t\t<name>{obj["Name"]}</name>')
|
||||||
for right in obj['Rights']:
|
for right in obj['Rights']:
|
||||||
lines.append(' <right>')
|
lines.append('\t\t<right>')
|
||||||
lines.append(f' <name>{right["Name"]}</name>')
|
lines.append(f'\t\t\t<name>{right["Name"]}</name>')
|
||||||
lines.append(f' <value>{right["Value"]}</value>')
|
lines.append(f'\t\t\t<value>{right["Value"]}</value>')
|
||||||
if right['Condition']:
|
if right['Condition']:
|
||||||
lines.append(' <restrictionByCondition>')
|
lines.append('\t\t\t<restrictionByCondition>')
|
||||||
lines.append(f' <condition>{esc_xml(right["Condition"])}</condition>')
|
lines.append(f'\t\t\t\t<condition>{esc_xml(right["Condition"])}</condition>')
|
||||||
lines.append(' </restrictionByCondition>')
|
lines.append('\t\t\t</restrictionByCondition>')
|
||||||
lines.append(' </right>')
|
lines.append('\t\t</right>')
|
||||||
total_rights += 1
|
total_rights += 1
|
||||||
lines.append(' </object>')
|
lines.append('\t</object>')
|
||||||
|
|
||||||
# RLS restriction templates
|
# RLS restriction templates
|
||||||
template_count = 0
|
template_count = 0
|
||||||
if defn.get('templates'):
|
if defn.get('templates'):
|
||||||
for tpl in defn['templates']:
|
for tpl in defn['templates']:
|
||||||
lines.append(' <restrictionTemplate>')
|
lines.append('\t<restrictionTemplate>')
|
||||||
lines.append(f' <name>{esc_xml(str(tpl["name"]))}</name>')
|
lines.append(f'\t\t<name>{esc_xml(str(tpl["name"]))}</name>')
|
||||||
lines.append(f' <condition>{esc_xml(str(tpl["condition"]))}</condition>')
|
lines.append(f'\t\t<condition>{esc_xml(str(tpl["condition"]))}</condition>')
|
||||||
lines.append(' </restrictionTemplate>')
|
lines.append('\t</restrictionTemplate>')
|
||||||
template_count += 1
|
template_count += 1
|
||||||
|
|
||||||
lines.append('</Rights>')
|
lines.append('</Rights>')
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>Кладовщик</Name>
|
<Name>Кладовщик</Name>
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>РедакторДокументов</Name>
|
<Name>РедакторДокументов</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>ПравоЦен</Name>
|
<Name>ПравоЦен</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>Пустая</Name>
|
<Name>Пустая</Name>
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>Пустая</Name>
|
<Name>Пустая</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
+1
-18
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>ЧтениеКонтрагентов</Name>
|
<Name>ЧтениеКонтрагентов</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>Кладовщик</Name>
|
<Name>Кладовщик</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>ЧтениеНоменклатуры</Name>
|
<Name>ЧтениеНоменклатуры</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
+1
-18
@@ -1,22 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses"
|
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform" xmlns:style="http://v8.1c.ru/8.1/data/ui/style" xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system" xmlns:v8="http://v8.1c.ru/8.1/data/core" xmlns:v8ui="http://v8.1c.ru/8.1/data/ui" xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web" xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows" xmlns:xen="http://v8.1c.ru/8.3/xcf/enums" xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef" xmlns:xr="http://v8.1c.ru/8.3/xcf/readable" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.17">
|
||||||
xmlns:app="http://v8.1c.ru/8.2/managed-application/core"
|
|
||||||
xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config"
|
|
||||||
xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi"
|
|
||||||
xmlns:ent="http://v8.1c.ru/8.1/data/enterprise"
|
|
||||||
xmlns:lf="http://v8.1c.ru/8.2/managed-application/logform"
|
|
||||||
xmlns:style="http://v8.1c.ru/8.1/data/ui/style"
|
|
||||||
xmlns:sys="http://v8.1c.ru/8.1/data/ui/fonts/system"
|
|
||||||
xmlns:v8="http://v8.1c.ru/8.1/data/core"
|
|
||||||
xmlns:v8ui="http://v8.1c.ru/8.1/data/ui"
|
|
||||||
xmlns:web="http://v8.1c.ru/8.1/data/ui/colors/web"
|
|
||||||
xmlns:win="http://v8.1c.ru/8.1/data/ui/colors/windows"
|
|
||||||
xmlns:xen="http://v8.1c.ru/8.3/xcf/enums"
|
|
||||||
xmlns:xpr="http://v8.1c.ru/8.3/xcf/predef"
|
|
||||||
xmlns:xr="http://v8.1c.ru/8.3/xcf/readable"
|
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
version="2.17">
|
|
||||||
<Role uuid="UUID-001">
|
<Role uuid="UUID-001">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Name>ЧтениеДокументовПоОрганизации</Name>
|
<Name>ЧтениеДокументовПоОрганизации</Name>
|
||||||
|
|||||||
+1
-4
@@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Rights xmlns="http://v8.1c.ru/8.2/roles"
|
<Rights xmlns="http://v8.1c.ru/8.2/roles" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Rights" version="2.17">
|
||||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:type="Rights" version="2.17">
|
|
||||||
<setForNewObjects>false</setForNewObjects>
|
<setForNewObjects>false</setForNewObjects>
|
||||||
<setForAttributesByDefault>true</setForAttributesByDefault>
|
<setForAttributesByDefault>true</setForAttributesByDefault>
|
||||||
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
<independentRightsOfChildObjects>false</independentRightsOfChildObjects>
|
||||||
|
|||||||
Reference in New Issue
Block a user