Инструменты пользователя

Инструменты сайта


sharixopen:knowledge:scenarios:access_request_declined

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
sharixopen:knowledge:scenarios:access_request_declined [2026/10/31 11:25] – [sharixknowledge] approved package sx_knowledge_api_opensharixopen:knowledge:scenarios:access_request_declined [2026/11/19 14:53] (текущий) – [sharixknowledge] approved package sx_knowledge_api_open
Строка 52: Строка 52:
             {             {
                 "repository": "sharix-open-handlers-examples",                 "repository": "sharix-open-handlers-examples",
-                "commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb",+                "commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1",
                 "path": "handlers/open_access_request_declined.py",                 "path": "handlers/open_access_request_declined.py",
                 "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"                 "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"
Строка 58: Строка 58:
             {             {
                 "repository": "sharix-open-handlers-examples",                 "repository": "sharix-open-handlers-examples",
-                "commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb",+                "commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1",
                 "path": "generated_handler_blocks/open_access_request_declined.json",                 "path": "generated_handler_blocks/open_access_request_declined.json",
                 "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"                 "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"
-            }, 
-            { 
-                "repository": "sharix-open-handlers-examples", 
-                "commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", 
-                "path": "catalog.py", 
-                "sha256": "e3dcb72b7e620e2837adacd7af053f35b04cdff475789496d9c114e17d57dfde" 
             },             },
             {             {
                 "repository": "sharix-open-handlers-backend",                 "repository": "sharix-open-handlers-backend",
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa",+                "commit": "dc3f19fe133828698370477f124b79e6c0239a64",
                 "path": "core/blockly_runtime.py",                 "path": "core/blockly_runtime.py",
-                "sha256": "3e222150cbff315077c6c9b160d46e59856cedf6d6591d213e958c63cb2f2428" +                "sha256": "640e3fe1eaedba273e3cb880553000848c848b8754f740293b0ab80d743ac59e"
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "core/handler_operations.py", +
-                "sha256": "28620658501c375f556e24437871620b84a17a88d0b62b2d1a3cc5deb2f14b1e" +
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "core/data_parsers.py", +
-                "sha256": "d7f26f172f68e4b390f675de88fbfb3c37a58fb29d4bf3d6687b31bd7953f9e4" +
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "core/ejabberd_muc.py", +
-                "sha256": "35c2eba89fab36b5c444439a87beaa516b55133991136d5370418d92a18d7bcd" +
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "core/requesters.py", +
-                "sha256": "965a348cea477722bbaf4c8c6b06023eb238b71664a332f7ea8c90bfe72ea808" +
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "classes/AccessRequestTicket.py", +
-                "sha256": "3f3a498ae76b3d878b19a8f32170fc2a71c6c6c182bf34a6ecc50edf7b0f5eff" +
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "ticket_blockly_codegen.py", +
-                "sha256": "bce71eab622922f8dd0954222842349799b60e18a0ab6310cc3e5f305603661e" +
-            }, +
-            { +
-                "repository": "sharix-open-handlers-backend", +
-                "commit": "50baf376e224d915a87d63240f3f339b3dda9afa", +
-                "path": "ticket_codegen_contract.json", +
-                "sha256": "0bfd2b0ebb07bd380ed3c867386536ab88ef7dfa6e13f1cd8c91d32bb02c1ae9"+
             },             },
             {             {
                 "repository": "sharix-open-tickets",                 "repository": "sharix-open-tickets",
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +                "commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", 
-                "path": "lib/tickets.py", +                "path": "services/assignment.py", 
-                "sha256": "0d260c17947f9a186d07af2749159780e3c7354a95b4bafe9d67493663c96883"+                "sha256": "2024a49e46668411d3d49ced29041c6d22db7c73f7e4e4757fab4d04bc13876e"
             },             },
             {             {
                 "repository": "sharix-open-tickets",                 "repository": "sharix-open-tickets",
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +                "commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", 
-                "path": "api/views/handler_workflow.py", +                "path": "services/handler_wakeup.py", 
-                "sha256": "f97c4b467a9a30749f5c4b86b39a833c430e57aaa1f030f70030d9b5c609d368"+                "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"
             },             },
             {             {
                 "repository": "sharix-open-tickets",                 "repository": "sharix-open-tickets",
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +                "commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", 
-                "path": "api/handler_auth.py", +                "path": "models/ticket.py", 
-                "sha256": "ac76dc45aaa9742e5e1da0b98aae914bb2e287048d33e97b4a245a6997bc8425" +                "sha256": "1a4294d422fe38dd5a5ac055554e232ef60538c82ce77dcae2a13cb5298a09e8"
-            }, +
-            { +
-                "repository": "sharix-open-tickets", +
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +
-                "path": "utils.py", +
-                "sha256": "a5680205c6522e1d9a74d9d267fe9ee96faf6f06436b00877fc0a93d80234bf5" +
-            }, +
-            { +
-                "repository": "sharix-open-tickets", +
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +
-                "path": "views/ticket_detail.py", +
-                "sha256": "05d344b0fba14cf895400694d4a18f486c800fef08dd1acb43ea46909b9e7e59" +
-            }, +
-            { +
-                "repository": "sharix-open-tickets", +
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +
-                "path": "signals.py", +
-                "sha256": "39aad8690a2e7d35cebfb052127a8130a951cbb4eea316c4f767a0a59fc5fa7e" +
-            }, +
-            { +
-                "repository": "sharix-open-tickets", +
-                "commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", +
-                "path": "services/handler_wakeup.py", +
-                "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"+
             },             },
             {             {
                 "repository": "sharix-open-backend",                 "repository": "sharix-open-backend",
-                "commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093",+                "commit": "66b8699b1b88bc9e397c8446522e957add4fd03d",
                 "path": "apiviews/handler_workflow.py",                 "path": "apiviews/handler_workflow.py",
                 "sha256": "0f699a4e16760cbbdd09d894093c685ba69073fedf0522852cb1fdc9811636e3"                 "sha256": "0f699a4e16760cbbdd09d894093c685ba69073fedf0522852cb1fdc9811636e3"
-            }, 
-            { 
-                "repository": "sharix-open-backend", 
-                "commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", 
-                "path": "lib/dicts.py", 
-                "sha256": "d92ddaa0964324e337303f8de110acf6ff21e15d7b40a6e523ce78ed48b7d8c5" 
             }             }
         ],         ],
-        "handler_process": { 
-            "handler_id": "open_access_request_declined", 
-            "source_kind": "git_builtin", 
-            "canonical_python_verified": true, 
-            "reviewed_on": "2026-10-28", 
-            "generator": "tools/generate_handler_bpmn.py", 
-            "generator_sha256": "ca837a7b9e55bf58184bdf408a8035d25667ed9c5d3068ca52380b2ff5682f95", 
-            "models": { 
-                "logic": "0dfdcc4e6707f881984720da1673ec26849694308396c32fc356462df2b43a0b", 
-                "cleanup": "cdb124ed06615977193c991fb2d68a6ab6889da9746a973becd436ea00e05c69" 
-            } 
-        }, 
-        "diagram_view_bounds": { 
-            "reviewed_on": "2026-10-29", 
-            "models": [ 
-                "logic" 
-            ], 
-            "semantics_unchanged": true, 
-            "utility": "tools/expand_bpmn_view_bounds.py", 
-            "utility_sha256": "f878658b0115773e34f6c3eec72eba5984d873e60d8e2a4336b3dfb2a8026d87" 
-        }, 
         "classification": {         "classification": {
             "schema": "sharix.knowledge.classification.v1",             "schema": "sharix.knowledge.classification.v1",
Строка 242: Строка 143:
             "all_original_evidence_hashes_match_fresh_git": true,             "all_original_evidence_hashes_match_fresh_git": true,
             "canonical_generation": "Both runnable and generated copies match; no handler executed."             "canonical_generation": "Both runnable and generated copies match; no handler executed."
 +        },
 +        "editorial_verification": {
 +            "method": "published-source review and non-executable BPMN validation",
 +            "runtime": "installation-specific; no server operation was performed by this documentation pass"
         }         }
     },     },
-    "content_sha256": "5b48697fc7f4f539e205ee8b690a47c4557bfc715688a0dfe7d5f0d70a0919ed",+    "content_sha256": "2cb9a83ae92d0d54bacc568f358892e44bbb0562ccc5dea867bc376dcf16442e",
     "schema": 1     "schema": 1
 } }
Строка 259: Строка 164:
  
  
-**Область:** ShariX Open. **Обработчик:** ''open_access_request_declined'', тип ''ACCESS_REQUEST'' (3), рабочий статус ''DECLINED'' (359). 31.10.2026 опубликованные исходники повторно получены из Git. Обе Python-копии заново сопоставлены с результатом генерации Blockly; проверены 11 исходников генераторов. Сам handler не исполнялся. Выбранную версию, конфигурацию и внешние подключения сервера проверяют отдельно.+**Область:** ShariX Open. **Обработчик:** ''open_access_request_declined'', тип ''ACCESS_REQUEST'' (3), рабочий статус ''DECLINED'' (359). 
 + 
 +Описание относится к опубликованным исходникам. Выбранная версия и состояние конкретной установки проверяются отдельно. 
 + 
 +===== Ручная смена статуса (BPMN) ===== 
 +<sharix-bpmn> 
 +<?xml version="1.0" encoding="UTF-8"?> 
 +<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" targetNamespace="urn:sharix:knowledge:processes"> 
 +  <bpmn:process id="Process_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" name="ACCESS_REQUEST в DECLINED: контрольный срок и безопасная очистка" isExecutable="false"> 
 +    <bpmn:documentation>{"notes": ["Схема сверена с предметным описанием и актуальными опубликованными источниками; не является исполняемым workflow."], "sources": [{"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "dc3f19fe133828698370477f124b79e6c0239a64", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "640e3fe1eaedba273e3cb880553000848c848b8754f740293b0ab80d743ac59e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/assignment.py", "repository": "sharix-open-tickets", "sha256": "2024a49e46668411d3d49ced29041c6d22db7c73f7e4e4757fab4d04bc13876e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "models/ticket.py", "repository": "sharix-open-tickets", "sha256": "1a4294d422fe38dd5a5ac055554e232ef60538c82ce77dcae2a13cb5298a09e8"}]}</bpmn:documentation> 
 +    <bpmn:laneSet id="Lanes_ShariXKnowledgeAccessRequestDeclinedBPMN_manual"> 
 +      <bpmn:lane id="Lane_workflow" name="Обработчик и scoped API: последовательность операций"> 
 +        <bpmn:flowNodeRef>start</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>rights</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>assigned</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>keep</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>actor</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>save</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>event</bpmn:flowNodeRef> 
 +        <bpmn:flowNodeRef>end</bpmn:flowNodeRef> 
 +      </bpmn:lane> 
 +    </bpmn:laneSet> 
 +    <bpmn:startEvent id="start" name="Человек выбирает ACCEPTED / DECLINED"> 
 +      <bpmn:outgoing>Flow_0</bpmn:outgoing> 
 +    </bpmn:startEvent> 
 +    <bpmn:serviceTask id="rights" name="Backend: права, lifecycle, блокировка Ticket"> 
 +      <bpmn:incoming>Flow_0</bpmn:incoming> 
 +      <bpmn:outgoing>Flow_1</bpmn:outgoing> 
 +    </bpmn:serviceTask> 
 +    <bpmn:exclusiveGateway id="assigned" name="Ответственный уже есть?"> 
 +      <bpmn:incoming>Flow_1</bpmn:incoming> 
 +      <bpmn:outgoing>Flow_2</bpmn:outgoing> 
 +      <bpmn:outgoing>Flow_3</bpmn:outgoing> 
 +    </bpmn:exclusiveGateway> 
 +    <bpmn:serviceTask id="keep" name="Сохранить прежнего ответственного"> 
 +      <bpmn:incoming>Flow_2</bpmn:incoming> 
 +      <bpmn:outgoing>Flow_4</bpmn:outgoing> 
 +    </bpmn:serviceTask> 
 +    <bpmn:serviceTask id="actor" name="Для свободной: явный ответственный или actor"> 
 +      <bpmn:incoming>Flow_3</bpmn:incoming> 
 +      <bpmn:outgoing>Flow_5</bpmn:outgoing> 
 +    </bpmn:serviceTask> 
 +    <bpmn:serviceTask id="save" name="Сохранить статус, assignee и Event"> 
 +      <bpmn:incoming>Flow_4</bpmn:incoming> 
 +      <bpmn:incoming>Flow_5</bpmn:incoming> 
 +      <bpmn:outgoing>Flow_6</bpmn:outgoing> 
 +    </bpmn:serviceTask> 
 +    <bpmn:intermediateCatchEvent id="event" name="После commit: смена владельца"> 
 +      <bpmn:incoming>Flow_6</bpmn:incoming> 
 +      <bpmn:outgoing>Flow_7</bpmn:outgoing> 
 +      <bpmn:messageEventDefinition /> 
 +    </bpmn:intermediateCatchEvent> 
 +    <bpmn:endEvent id="end" name="Профильный handler продолжает"> 
 +      <bpmn:incoming>Flow_7</bpmn:incoming> 
 +    </bpmn:endEvent> 
 +    <bpmn:sequenceFlow id="Flow_0" sourceRef="start" targetRef="rights" name="" /> 
 +    <bpmn:sequenceFlow id="Flow_1" sourceRef="rights" targetRef="assigned" name="" /> 
 +    <bpmn:sequenceFlow id="Flow_2" sourceRef="assigned" targetRef="keep" name="Да" /> 
 +    <bpmn:sequenceFlow id="Flow_3" sourceRef="assigned" targetRef="actor" name="Нет" /> 
 +    <bpmn:sequenceFlow id="Flow_4" sourceRef="keep" targetRef="save" name="" /> 
 +    <bpmn:sequenceFlow id="Flow_5" sourceRef="actor" targetRef="save" name="" /> 
 +    <bpmn:sequenceFlow id="Flow_6" sourceRef="save" targetRef="event" name="" /> 
 +    <bpmn:sequenceFlow id="Flow_7" sourceRef="event" targetRef="end" name="" /> 
 +  </bpmn:process> 
 +  <bpmn:collaboration id="Collaboration_ShariXKnowledgeAccessRequestDeclinedBPMN_manual"> 
 +    <bpmn:participant id="Pool_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" name="ACCESS_REQUEST в DECLINED: контрольный срок и безопасная очистка" processRef="Process_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" /> 
 +  </bpmn:collaboration> 
 +  <bpmndi:BPMNDiagram id="Diagram_ShariXKnowledgeAccessRequestDeclinedBPMN_manual"> 
 +    <bpmndi:BPMNPlane id="Plane_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" bpmnElement="Collaboration_ShariXKnowledgeAccessRequestDeclinedBPMN_manual"> 
 +      <bpmndi:BPMNShape id="DI_Pool_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" bpmnElement="Pool_ShariXKnowledgeAccessRequestDeclinedBPMN_manual" isHorizontal="true"> 
 +        <dc:Bounds x="0" y="0" width="1670" height="360" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_Lane_workflow" bpmnElement="Lane_workflow" isHorizontal="true"> 
 +        <dc:Bounds x="30" y="0" width="1640" height="360" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_start" bpmnElement="start"> 
 +        <dc:Bounds x="152.0" y="82.0" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_rights" bpmnElement="rights"> 
 +        <dc:Bounds x="315.0" y="65.0" width="150" height="70" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_assigned" bpmnElement="assigned"> 
 +        <dc:Bounds x="595.0" y="75.0" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_keep" bpmnElement="keep"> 
 +        <dc:Bounds x="775.0" y="65.0" width="150" height="70" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_actor" bpmnElement="actor"> 
 +        <dc:Bounds x="775.0" y="225.0" width="150" height="70" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_save" bpmnElement="save"> 
 +        <dc:Bounds x="1015.0" y="145.0" width="150" height="70" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_event" bpmnElement="event"> 
 +        <dc:Bounds x="1292.0" y="162.0" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="DI_end" bpmnElement="end"> 
 +        <dc:Bounds x="1492.0" y="162.0" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNEdge id="DI_Flow_0" bpmnElement="Flow_0"> 
 +        <di:waypoint x="188.0" y="100.0" /> 
 +        <di:waypoint x="315.0" y="100.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_1" bpmnElement="Flow_1"> 
 +        <di:waypoint x="465.0" y="100.0" /> 
 +        <di:waypoint x="595.0" y="100.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_2" bpmnElement="Flow_2"> 
 +        <di:waypoint x="645.0" y="100.0" /> 
 +        <di:waypoint x="775.0" y="100.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_3" bpmnElement="Flow_3"> 
 +        <di:waypoint x="645.0" y="100.0" /> 
 +        <di:waypoint x="710.0" y="100.0" /> 
 +        <di:waypoint x="710.0" y="260.0" /> 
 +        <di:waypoint x="775.0" y="260.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_4" bpmnElement="Flow_4"> 
 +        <di:waypoint x="925.0" y="100.0" /> 
 +        <di:waypoint x="970.0" y="100.0" /> 
 +        <di:waypoint x="970.0" y="180.0" /> 
 +        <di:waypoint x="1015.0" y="180.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_5" bpmnElement="Flow_5"> 
 +        <di:waypoint x="925.0" y="260.0" /> 
 +        <di:waypoint x="970.0" y="260.0" /> 
 +        <di:waypoint x="970.0" y="180.0" /> 
 +        <di:waypoint x="1015.0" y="180.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_6" bpmnElement="Flow_6"> 
 +        <di:waypoint x="1165.0" y="180.0" /> 
 +        <di:waypoint x="1292.0" y="180.0" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="DI_Flow_7" bpmnElement="Flow_7"> 
 +        <di:waypoint x="1328.0" y="180.0" /> 
 +        <di:waypoint x="1492.0" y="180.0" /> 
 +      </bpmndi:BPMNEdge> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</bpmn:definitions> 
 +</sharix-bpmn> 
 + 
 +===== Ручное решение и ответственность ===== 
 +Когда аутентифицированный человек действительно меняет статус на ''ACCEPTED'' или ''DECLINED'', backend под блокировкой сохраняет ответственность: 
 + 
 +  * если ответственный уже был назначен, он сохраняется; 
 +  * если заявка была свободной и в действии явно указан ответственный, сохраняется он; 
 +  * иначе свободная заявка назначается на человека, изменившего статус. 
 + 
 +Правило применяется в общей записи Ticket, в том числе для разрешённых действий Django-admin. Изменение от источника ''handler:'' не назначает bot ответственным. Назначение не обходит lifecycle, объектные права, требования активации или проверку связей. After-commit событие будит профильного обработчика; неизвестный результат запроса сначала сверяют чтением Ticket и аудита.
  
 ===== Назначение и границы ===== ===== Назначение и границы =====
Строка 286: Строка 340:
 <sharix-bpmn> <sharix-bpmn>
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
-<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:ns2="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:ns3="http://www.omg.org/spec/DD/20100524/DC" xmlns:ns4="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_access_declined_logic" targetNamespace="urn:sharix:knowledge:handlers">+<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_access_declined_logic" targetNamespace="urn:sharix:knowledge:handlers">
   <bpmn:process id="declined_Process_declined" name="open_access_request_declined: проверка active, контрольный срок и очистка" isExecutable="false">   <bpmn:process id="declined_Process_declined" name="open_access_request_declined: проверка active, контрольный срок и очистка" isExecutable="false">
-    <bpmn:documentation>{"notes": ["BPMN isExecutable=false; генератор не выполняет handler.", "grace_deadline=Ticket.updated_at + ACCESS_REQUEST_DECLINED_CLEANUP_GRACE_DAYS.", "deferred_until=min(grace_deadline, now+DEFERRED_TICKET_RECHECK_SECONDS) при ожидании grace.", "Soft delete означает status=2; active permission не удаляется этим workflow."], "sources": [{"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "catalog.py", "repository": "sharix-open-handlers-examples", "sha256": "e3dcb72b7e620e2837adacd7af053f35b04cdff475789496d9c114e17d57dfde"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "3e222150cbff315077c6c9b160d46e59856cedf6d6591d213e958c63cb2f2428"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/handler_operations.py", "repository": "sharix-open-handlers-backend", "sha256": "28620658501c375f556e24437871620b84a17a88d0b62b2d1a3cc5deb2f14b1e"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/data_parsers.py", "repository": "sharix-open-handlers-backend", "sha256": "d7f26f172f68e4b390f675de88fbfb3c37a58fb29d4bf3d6687b31bd7953f9e4"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/ejabberd_muc.py", "repository": "sharix-open-handlers-backend", "sha256": "35c2eba89fab36b5c444439a87beaa516b55133991136d5370418d92a18d7bcd"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/requesters.py", "repository": "sharix-open-handlers-backend", "sha256": "965a348cea477722bbaf4c8c6b06023eb238b71664a332f7ea8c90bfe72ea808"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "classes/AccessRequestTicket.py", "repository": "sharix-open-handlers-backend", "sha256": "3f3a498ae76b3d878b19a8f32170fc2a71c6c6c182bf34a6ecc50edf7b0f5eff"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "ticket_blockly_codegen.py", "repository": "sharix-open-handlers-backend", "sha256": "bce71eab622922f8dd0954222842349799b60e18a0ab6310cc3e5f305603661e"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "ticket_codegen_contract.json", "repository": "sharix-open-handlers-backend", "sha256": "0bfd2b0ebb07bd380ed3c867386536ab88ef7dfa6e13f1cd8c91d32bb02c1ae9"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "lib/tickets.py", "repository": "sharix-open-tickets", "sha256": "0d260c17947f9a186d07af2749159780e3c7354a95b4bafe9d67493663c96883"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "api/views/handler_workflow.py", "repository": "sharix-open-tickets", "sha256": "f97c4b467a9a30749f5c4b86b39a833c430e57aaa1f030f70030d9b5c609d368"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "api/handler_auth.py", "repository": "sharix-open-tickets", "sha256": "ac76dc45aaa9742e5e1da0b98aae914bb2e287048d33e97b4a245a6997bc8425"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "utils.py", "repository": "sharix-open-tickets", "sha256": "a5680205c6522e1d9a74d9d267fe9ee96faf6f06436b00877fc0a93d80234bf5"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "views/ticket_detail.py", "repository": "sharix-open-tickets", "sha256": "05d344b0fba14cf895400694d4a18f486c800fef08dd1acb43ea46909b9e7e59"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "signals.py", "repository": "sharix-open-tickets", "sha256": "39aad8690a2e7d35cebfb052127a8130a951cbb4eea316c4f767a0a59fc5fa7e"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", "path": "apiviews/handler_workflow.py", "repository": "sharix-open-backend", "sha256": "0f699a4e16760cbbdd09d894093c685ba69073fedf0522852cb1fdc9811636e3"}, {"commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", "path": "lib/dicts.py", "repository": "sharix-open-backend", "sha256": "d92ddaa0964324e337303f8de110acf6ff21e15d7b40a6e523ce78ed48b7d8c5"}]}</bpmn:documentation>+    <bpmn:documentation>{"notes": ["Схема сверена с предметным описанием и актуальными опубликованными источниками; не является исполняемым workflow."], "sources": [{"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "dc3f19fe133828698370477f124b79e6c0239a64", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "640e3fe1eaedba273e3cb880553000848c848b8754f740293b0ab80d743ac59e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/assignment.py", "repository": "sharix-open-tickets", "sha256": "2024a49e46668411d3d49ced29041c6d22db7c73f7e4e4757fab4d04bc13876e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "models/ticket.py", "repository": "sharix-open-tickets", "sha256": "1a4294d422fe38dd5a5ac055554e232ef60538c82ce77dcae2a13cb5298a09e8"}]}</bpmn:documentation>
     <bpmn:laneSet id="declined_Lanes_declined">     <bpmn:laneSet id="declined_Lanes_declined">
       <bpmn:lane id="declined_Lane_worker" name="Worker: один проход Python">       <bpmn:lane id="declined_Lane_worker" name="Worker: один проход Python">
Строка 460: Строка 514:
     <bpmn:messageFlow id="Message_access_declined_logic_0" sourceRef="declined_notify" targetRef="admins_Participant" name="ALERT: это уведомление, а не автоматический отзыв права" />     <bpmn:messageFlow id="Message_access_declined_logic_0" sourceRef="declined_notify" targetRef="admins_Participant" name="ALERT: это уведомление, а не автоматический отзыв права" />
   </bpmn:collaboration>   </bpmn:collaboration>
-  <ns2:BPMNDiagram id="Diagram_access_declined_logic"> +  <bpmndi:BPMNDiagram id="Diagram_access_declined_logic"> 
-    <ns2:BPMNPlane id="Plane_access_declined_logic" bpmnElement="Collaboration_access_declined_logic"> +    <bpmndi:BPMNPlane id="Plane_access_declined_logic" bpmnElement="Collaboration_access_declined_logic"> 
-      <ns2:BPMNShape id="declined_DI_Pool_declined" bpmnElement="declined_Pool_declined" isHorizontal="true"> +      <bpmndi:BPMNShape id="declined_DI_Pool_declined" bpmnElement="declined_Pool_declined" isHorizontal="true"> 
-        <ns3:Bounds x="0.0" y="0.0" width="2390.0" height="1000.0" /> +        <dc:Bounds x="0.0" y="0.0" width="2390.0" height="1000.0" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_Lane_worker" bpmnElement="declined_Lane_worker" isHorizontal="true"> +      <bpmndi:BPMNShape id="declined_DI_Lane_worker" bpmnElement="declined_Lane_worker" isHorizontal="true"> 
-        <ns3:Bounds x="30.0" y="0.0" width="2360.0" height="605.0" /> +        <dc:Bounds x="30.0" y="0.0" width="2360.0" height="605.0" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_Lane_queue" bpmnElement="declined_Lane_queue" isHorizontal="true"> +      <bpmndi:BPMNShape id="declined_DI_Lane_queue" bpmnElement="declined_Lane_queue" isHorizontal="true"> 
-        <ns3:Bounds x="30.0" y="605.0" width="2360.0" height="395.0" /> +        <dc:Bounds x="30.0" y="605.0" width="2360.0" height="395.0" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_start" bpmnElement="declined_start"> +      <bpmndi:BPMNShape id="declined_DI_start" bpmnElement="declined_start"> 
-        <ns3:Bounds x="132.0" y="92.0" width="36" height="36" /> +        <dc:Bounds x="132.0" y="92.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_status" bpmnElement="declined_status"> +      <bpmndi:BPMNShape id="declined_DI_status" bpmnElement="declined_status"> 
-        <ns3:Bounds x="325.0" y="85.0" width="50" height="50" /> +        <dc:Bounds x="325.0" y="85.0" width="50" height="50" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_lookup" bpmnElement="declined_lookup"> +      <bpmndi:BPMNShape id="declined_DI_lookup" bpmnElement="declined_lookup"> 
-        <ns3:Bounds x="515.0" y="75.0" width="150" height="70" /> +        <dc:Bounds x="515.0" y="75.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_active" bpmnElement="declined_active"> +      <bpmndi:BPMNShape id="declined_DI_active" bpmnElement="declined_active"> 
-        <ns3:Bounds x="815.0" y="85.0" width="50" height="50" /> +        <dc:Bounds x="815.0" y="85.0" width="50" height="50" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_notify" bpmnElement="declined_notify"> +      <bpmndi:BPMNShape id="declined_DI_notify" bpmnElement="declined_notify"> 
-        <ns3:Bounds x="1025.0" y="75.0" width="150" height="70" /> +        <dc:Bounds x="1025.0" y="75.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_active_wait" bpmnElement="declined_active_wait"> +      <bpmndi:BPMNShape id="declined_DI_active_wait" bpmnElement="declined_active_wait"> 
-        <ns3:Bounds x="1285.0" y="75.0" width="150" height="70" /> +        <dc:Bounds x="1285.0" y="75.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_stale" bpmnElement="declined_stale"> +      <bpmndi:BPMNShape id="declined_DI_stale" bpmnElement="declined_stale"> 
-        <ns3:Bounds x="275.0" y="275.0" width="150" height="70" /> +        <dc:Bounds x="275.0" y="275.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_stale_end" bpmnElement="declined_stale_end"> +      <bpmndi:BPMNShape id="declined_DI_stale_end" bpmnElement="declined_stale_end"> 
-        <ns3:Bounds x="572.0" y="292.0" width="36" height="36" /> +        <dc:Bounds x="572.0" y="292.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_age" bpmnElement="declined_age"> +      <bpmndi:BPMNShape id="declined_DI_age" bpmnElement="declined_age"> 
-        <ns3:Bounds x="815.0" y="285.0" width="50" height="50" /> +        <dc:Bounds x="815.0" y="285.0" width="50" height="50" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_delete" bpmnElement="declined_delete"> +      <bpmndi:BPMNShape id="declined_DI_delete" bpmnElement="declined_delete"> 
-        <ns3:Bounds x="1025.0" y="275.0" width="150" height="70" /> +        <dc:Bounds x="1025.0" y="275.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_close" bpmnElement="declined_close"> +      <bpmndi:BPMNShape id="declined_DI_close" bpmnElement="declined_close"> 
-        <ns3:Bounds x="1285.0" y="275.0" width="150" height="70" /> +        <dc:Bounds x="1285.0" y="275.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_confirmed" bpmnElement="declined_confirmed"> +      <bpmndi:BPMNShape id="declined_DI_confirmed" bpmnElement="declined_confirmed"> 
-        <ns3:Bounds x="1595.0" y="285.0" width="50" height="50" /> +        <dc:Bounds x="1595.0" y="285.0" width="50" height="50" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_remove" bpmnElement="declined_remove"> +      <bpmndi:BPMNShape id="declined_DI_remove" bpmnElement="declined_remove"> 
-        <ns3:Bounds x="1805.0" y="275.0" width="150" height="70" /> +        <dc:Bounds x="1805.0" y="275.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_end" bpmnElement="declined_end"> +      <bpmndi:BPMNShape id="declined_DI_end" bpmnElement="declined_end"> 
-        <ns3:Bounds x="2092.0" y="292.0" width="36" height="36" /> +        <dc:Bounds x="2092.0" y="292.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_not_found" bpmnElement="declined_not_found"> +      <bpmndi:BPMNShape id="declined_DI_not_found" bpmnElement="declined_not_found"> 
-        <ns3:Bounds x="1602.0" y="472.0" width="36" height="36" /> +        <dc:Bounds x="1602.0" y="472.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_grace" bpmnElement="declined_grace"> +      <bpmndi:BPMNShape id="declined_DI_grace" bpmnElement="declined_grace"> 
-        <ns3:Bounds x="765.0" y="475.0" width="150" height="70" /> +        <dc:Bounds x="765.0" y="475.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_lookup_error" bpmnElement="declined_lookup_error"> +      <bpmndi:BPMNShape id="declined_DI_lookup_error" bpmnElement="declined_lookup_error"> 
-        <ns3:Bounds x="622.0" y="127.0" width="36" height="36" /> +        <dc:Bounds x="622.0" y="127.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_delete_error" bpmnElement="declined_delete_error"> +      <bpmndi:BPMNShape id="declined_DI_delete_error" bpmnElement="declined_delete_error"> 
-        <ns3:Bounds x="1132.0" y="327.0" width="36" height="36" /> +        <dc:Bounds x="1132.0" y="327.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_close_error" bpmnElement="declined_close_error"> +      <bpmndi:BPMNShape id="declined_DI_close_error" bpmnElement="declined_close_error"> 
-        <ns3:Bounds x="1392.0" y="327.0" width="36" height="36" /> +        <dc:Bounds x="1392.0" y="327.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_retry" bpmnElement="declined_retry"> +      <bpmndi:BPMNShape id="declined_DI_retry" bpmnElement="declined_retry"> 
-        <ns3:Bounds x="1805.0" y="475.0" width="150" height="70" /> +        <dc:Bounds x="1805.0" y="475.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_wait" bpmnElement="declined_wait"> +      <bpmndi:BPMNShape id="declined_DI_wait" bpmnElement="declined_wait"> 
-        <ns3:Bounds x="1075.0" y="745.0" width="50" height="50" /> +        <dc:Bounds x="1075.0" y="745.0" width="50" height="50" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_timer" bpmnElement="declined_timer"> +      <bpmndi:BPMNShape id="declined_DI_timer" bpmnElement="declined_timer"> 
-        <ns3:Bounds x="1342.0" y="682.0" width="36" height="36" /> +        <dc:Bounds x="1342.0" y="682.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_revision" bpmnElement="declined_revision"> +      <bpmndi:BPMNShape id="declined_DI_revision" bpmnElement="declined_revision"> 
-        <ns3:Bounds x="1342.0" y="882.0" width="36" height="36" /> +        <dc:Bounds x="1342.0" y="882.0" width="36" height="36" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNShape id="declined_DI_ready" bpmnElement="declined_ready"> +      <bpmndi:BPMNShape id="declined_DI_ready" bpmnElement="declined_ready"> 
-        <ns3:Bounds x="1545.0" y="735.0" width="150" height="70" /> +        <dc:Bounds x="1545.0" y="735.0" width="150" height="70" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNEdge id="declined_DI_Flow_0" bpmnElement="declined_Flow_0"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_0" bpmnElement="declined_Flow_0"> 
-        <ns4:waypoint x="168.0" y="110.0" /> +        <di:waypoint x="168.0" y="110.0" /> 
-        <ns4:waypoint x="325.0" y="110.0" /> +        <di:waypoint x="325.0" y="110.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_1" bpmnElement="declined_Flow_1"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_1" bpmnElement="declined_Flow_1"> 
-        <ns4:waypoint x="375.0" y="110.0" /> +        <di:waypoint x="375.0" y="110.0" /> 
-        <ns4:waypoint x="515.0" y="110.0" /> +        <di:waypoint x="515.0" y="110.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_2" bpmnElement="declined_Flow_2"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_2" bpmnElement="declined_Flow_2"> 
-        <ns4:waypoint x="350.0" y="135.0" /> +        <di:waypoint x="350.0" y="135.0" /> 
-        <ns4:waypoint x="350.0" y="275.0" /> +        <di:waypoint x="350.0" y="275.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_3" bpmnElement="declined_Flow_3"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_3" bpmnElement="declined_Flow_3"> 
-        <ns4:waypoint x="425.0" y="310.0" /> +        <di:waypoint x="425.0" y="310.0" /> 
-        <ns4:waypoint x="572.0" y="310.0" /> +        <di:waypoint x="572.0" y="310.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_4" bpmnElement="declined_Flow_4"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_4" bpmnElement="declined_Flow_4"> 
-        <ns4:waypoint x="665.0" y="110.0" /> +        <di:waypoint x="665.0" y="110.0" /> 
-        <ns4:waypoint x="815.0" y="110.0" /> +        <di:waypoint x="815.0" y="110.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_5" bpmnElement="declined_Flow_5"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_5" bpmnElement="declined_Flow_5"> 
-        <ns4:waypoint x="865.0" y="110.0" /> +        <di:waypoint x="865.0" y="110.0" /> 
-        <ns4:waypoint x="1025.0" y="110.0" /> +        <di:waypoint x="1025.0" y="110.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_6" bpmnElement="declined_Flow_6"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_6" bpmnElement="declined_Flow_6"> 
-        <ns4:waypoint x="1175.0" y="110.0" /> +        <di:waypoint x="1175.0" y="110.0" /> 
-        <ns4:waypoint x="1285.0" y="110.0" /> +        <di:waypoint x="1285.0" y="110.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_7" bpmnElement="declined_Flow_7"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_7" bpmnElement="declined_Flow_7"> 
-        <ns4:waypoint x="840.0" y="135.0" /> +        <di:waypoint x="840.0" y="135.0" /> 
-        <ns4:waypoint x="840.0" y="285.0" /> +        <di:waypoint x="840.0" y="285.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_8" bpmnElement="declined_Flow_8"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_8" bpmnElement="declined_Flow_8"> 
-        <ns4:waypoint x="865.0" y="310.0" /> +        <di:waypoint x="865.0" y="310.0" /> 
-        <ns4:waypoint x="1025.0" y="310.0" /> +        <di:waypoint x="1025.0" y="310.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_9" bpmnElement="declined_Flow_9"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_9" bpmnElement="declined_Flow_9"> 
-        <ns4:waypoint x="840.0" y="335.0" /> +        <di:waypoint x="840.0" y="335.0" /> 
-        <ns4:waypoint x="840.0" y="475.0" /> +        <di:waypoint x="840.0" y="475.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_10" bpmnElement="declined_Flow_10"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_10" bpmnElement="declined_Flow_10"> 
-        <ns4:waypoint x="1175.0" y="310.0" /> +        <di:waypoint x="1175.0" y="310.0" /> 
-        <ns4:waypoint x="1285.0" y="310.0" /> +        <di:waypoint x="1285.0" y="310.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_11" bpmnElement="declined_Flow_11"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_11" bpmnElement="declined_Flow_11"> 
-        <ns4:waypoint x="1435.0" y="310.0" /> +        <di:waypoint x="1435.0" y="310.0" /> 
-        <ns4:waypoint x="1595.0" y="310.0" /> +        <di:waypoint x="1595.0" y="310.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_12" bpmnElement="declined_Flow_12"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_12" bpmnElement="declined_Flow_12"> 
-        <ns4:waypoint x="1645.0" y="310.0" /> +        <di:waypoint x="1645.0" y="310.0" /> 
-        <ns4:waypoint x="1805.0" y="310.0" /> +        <di:waypoint x="1805.0" y="310.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_13" bpmnElement="declined_Flow_13"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_13" bpmnElement="declined_Flow_13"> 
-        <ns4:waypoint x="1955.0" y="310.0" /> +        <di:waypoint x="1955.0" y="310.0" /> 
-        <ns4:waypoint x="2092.0" y="310.0" /> +        <di:waypoint x="2092.0" y="310.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_14" bpmnElement="declined_Flow_14"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_14" bpmnElement="declined_Flow_14"> 
-        <ns4:waypoint x="1620.0" y="335.0" /> +        <di:waypoint x="1620.0" y="335.0" /> 
-        <ns4:waypoint x="1620.0" y="472.0" /> +        <di:waypoint x="1620.0" y="472.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_15" bpmnElement="declined_Flow_15"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_15" bpmnElement="declined_Flow_15"> 
-        <ns4:waypoint x="1435.0" y="110.0" /> +        <di:waypoint x="1435.0" y="110.0" /> 
-        <ns4:waypoint x="1490.0" y="110.0" /> +        <di:waypoint x="1490.0" y="110.0" /> 
-        <ns4:waypoint x="1490.0" y="620.0" /> +        <di:waypoint x="1490.0" y="620.0" /> 
-        <ns4:waypoint x="1100.0" y="620.0" /> +        <di:waypoint x="1100.0" y="620.0" /> 
-        <ns4:waypoint x="1100.0" y="745.0" /> +        <di:waypoint x="1100.0" y="745.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_16" bpmnElement="declined_Flow_16"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_16" bpmnElement="declined_Flow_16"> 
-        <ns4:waypoint x="915.0" y="510.0" /> +        <di:waypoint x="915.0" y="510.0" /> 
-        <ns4:waypoint x="995.0" y="510.0" /> +        <di:waypoint x="995.0" y="510.0" /> 
-        <ns4:waypoint x="995.0" y="770.0" /> +        <di:waypoint x="995.0" y="770.0" /> 
-        <ns4:waypoint x="1075.0" y="770.0" /> +        <di:waypoint x="1075.0" y="770.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_17" bpmnElement="declined_Flow_17"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_17" bpmnElement="declined_Flow_17"> 
-        <ns4:waypoint x="658.0" y="145.0" /> +        <di:waypoint x="658.0" y="145.0" /> 
-        <ns4:waypoint x="700.0" y="145.0" /> +        <di:waypoint x="700.0" y="145.0" /> 
-        <ns4:waypoint x="700.0" y="590.0" /> +        <di:waypoint x="700.0" y="590.0" /> 
-        <ns4:waypoint x="1880.0" y="590.0" /> +        <di:waypoint x="1880.0" y="590.0" /> 
-        <ns4:waypoint x="1880.0" y="475.0" /> +        <di:waypoint x="1880.0" y="475.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_18" bpmnElement="declined_Flow_18"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_18" bpmnElement="declined_Flow_18"> 
-        <ns4:waypoint x="1168.0" y="345.0" /> +        <di:waypoint x="1168.0" y="345.0" /> 
-        <ns4:waypoint x="1210.0" y="345.0" /> +        <di:waypoint x="1210.0" y="345.0" /> 
-        <ns4:waypoint x="1210.0" y="580.0" /> +        <di:waypoint x="1210.0" y="580.0" /> 
-        <ns4:waypoint x="1880.0" y="580.0" /> +        <di:waypoint x="1880.0" y="580.0" /> 
-        <ns4:waypoint x="1880.0" y="475.0" /> +        <di:waypoint x="1880.0" y="475.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_19" bpmnElement="declined_Flow_19"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_19" bpmnElement="declined_Flow_19"> 
-        <ns4:waypoint x="1428.0" y="345.0" /> +        <di:waypoint x="1428.0" y="345.0" /> 
-        <ns4:waypoint x="1470.0" y="345.0" /> +        <di:waypoint x="1470.0" y="345.0" /> 
-        <ns4:waypoint x="1880.0" y="345.0" /> +        <di:waypoint x="1880.0" y="345.0" /> 
-        <ns4:waypoint x="1880.0" y="475.0" /> +        <di:waypoint x="1880.0" y="475.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_20" bpmnElement="declined_Flow_20"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_20" bpmnElement="declined_Flow_20"> 
-        <ns4:waypoint x="1955.0" y="510.0" /> +        <di:waypoint x="1955.0" y="510.0" /> 
-        <ns4:waypoint x="2010.0" y="510.0" /> +        <di:waypoint x="2010.0" y="510.0" /> 
-        <ns4:waypoint x="2010.0" y="640.0" /> +        <di:waypoint x="2010.0" y="640.0" /> 
-        <ns4:waypoint x="1100.0" y="640.0" /> +        <di:waypoint x="1100.0" y="640.0" /> 
-        <ns4:waypoint x="1100.0" y="745.0" /> +        <di:waypoint x="1100.0" y="745.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_21" bpmnElement="declined_Flow_21"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_21" bpmnElement="declined_Flow_21"> 
-        <ns4:waypoint x="1125.0" y="770.0" /> +        <di:waypoint x="1125.0" y="770.0" /> 
-        <ns4:waypoint x="1233.5" y="770.0" /> +        <di:waypoint x="1233.5" y="770.0" /> 
-        <ns4:waypoint x="1233.5" y="700.0" /> +        <di:waypoint x="1233.5" y="700.0" /> 
-        <ns4:waypoint x="1342.0" y="700.0" /> +        <di:waypoint x="1342.0" y="700.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_22" bpmnElement="declined_Flow_22"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_22" bpmnElement="declined_Flow_22"> 
-        <ns4:waypoint x="1125.0" y="770.0" /> +        <di:waypoint x="1125.0" y="770.0" /> 
-        <ns4:waypoint x="1233.5" y="770.0" /> +        <di:waypoint x="1233.5" y="770.0" /> 
-        <ns4:waypoint x="1233.5" y="900.0" /> +        <di:waypoint x="1233.5" y="900.0" /> 
-        <ns4:waypoint x="1342.0" y="900.0" /> +        <di:waypoint x="1342.0" y="900.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_23" bpmnElement="declined_Flow_23"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_23" bpmnElement="declined_Flow_23"> 
-        <ns4:waypoint x="1378.0" y="700.0" /> +        <di:waypoint x="1378.0" y="700.0" /> 
-        <ns4:waypoint x="1461.5" y="700.0" /> +        <di:waypoint x="1461.5" y="700.0" /> 
-        <ns4:waypoint x="1461.5" y="770.0" /> +        <di:waypoint x="1461.5" y="770.0" /> 
-        <ns4:waypoint x="1545.0" y="770.0" /> +        <di:waypoint x="1545.0" y="770.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_24" bpmnElement="declined_Flow_24"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_24" bpmnElement="declined_Flow_24"> 
-        <ns4:waypoint x="1378.0" y="900.0" /> +        <di:waypoint x="1378.0" y="900.0" /> 
-        <ns4:waypoint x="1461.5" y="900.0" /> +        <di:waypoint x="1461.5" y="900.0" /> 
-        <ns4:waypoint x="1461.5" y="770.0" /> +        <di:waypoint x="1461.5" y="770.0" /> 
-        <ns4:waypoint x="1545.0" y="770.0" /> +        <di:waypoint x="1545.0" y="770.0" /> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNEdge id="declined_DI_Flow_25" bpmnElement="declined_Flow_25"> +      <bpmndi:BPMNEdge id="declined_DI_Flow_25" bpmnElement="declined_Flow_25"> 
-        <ns4:waypoint x="1695.0" y="770.0" /> +        <di:waypoint x="1695.0" y="770.0" /> 
-        <ns4:waypoint x="2260.0" y="770.0" /> +        <di:waypoint x="2260.0" y="770.0" /> 
-        <ns4:waypoint x="2260.0" y="25.0" /> +        <di:waypoint x="2260.0" y="25.0" /> 
-        <ns4:waypoint x="350.0" y="25.0" /> +        <di:waypoint x="350.0" y="25.0" /> 
-        <ns4:waypoint x="350.0" y="85.0" /> +        <di:waypoint x="350.0" y="85.0" /> 
-        <ns2:BPMNLabel> +        <bpmndi:BPMNLabel> 
-          <ns3:Bounds x="1950.0" y="5.0" width="180" height="26" /> +          <dc:Bounds x="1950.0" y="5.0" width="180" height="26" /> 
-        </ns2:BPMNLabel> +        </bpmndi:BPMNLabel> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-      <ns2:BPMNShape id="DI_admins_Participant" bpmnElement="admins_Participant" isHorizontal="true"> +      <bpmndi:BPMNShape id="DI_admins_Participant" bpmnElement="admins_Participant" isHorizontal="true"> 
-        <ns3:Bounds x="0" y="1120" width="2300" height="100" /> +        <dc:Bounds x="0" y="1120" width="2300" height="100" /> 
-      </ns2:BPMNShape> +      </bpmndi:BPMNShape> 
-      <ns2:BPMNEdge id="DI_Message_access_declined_logic_0" bpmnElement="Message_access_declined_logic_0"> +      <bpmndi:BPMNEdge id="DI_Message_access_declined_logic_0" bpmnElement="Message_access_declined_logic_0"> 
-        <ns4:waypoint x="1100" y="145" /> +        <di:waypoint x="1100" y="145" /> 
-        <ns4:waypoint x="1100" y="210" /> +        <di:waypoint x="1100" y="210" /> 
-        <ns4:waypoint x="2350" y="210" /> +        <di:waypoint x="2350" y="210" /> 
-        <ns4:waypoint x="2350" y="1050" /> +        <di:waypoint x="2350" y="1050" /> 
-        <ns4:waypoint x="1150" y="1050" /> +        <di:waypoint x="1150" y="1050" /> 
-        <ns4:waypoint x="1150" y="1120" /> +        <di:waypoint x="1150" y="1120" /> 
-        <ns2:BPMNLabel> +        <bpmndi:BPMNLabel> 
-          <ns3:Bounds x="1520" y="1020" width="260" height="42" /> +          <dc:Bounds x="1520" y="1020" width="260" height="42" /> 
-        </ns2:BPMNLabel> +        </bpmndi:BPMNLabel> 
-      </ns2:BPMNEdge> +      </bpmndi:BPMNEdge> 
-    </ns2:BPMNPlane> +    </bpmndi:BPMNPlane> 
-  </ns2:BPMNDiagram>+  </bpmndi:BPMNDiagram>
 </bpmn:definitions> </bpmn:definitions>
 </sharix-bpmn> </sharix-bpmn>
Строка 716: Строка 770:
 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_access_declined_cleanup" targetNamespace="urn:sharix:knowledge:handlers"> <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_access_declined_cleanup" targetNamespace="urn:sharix:knowledge:handlers">
   <bpmn:process id="permission_Process_permission" name="Backend permission API: action=soft_delete" isExecutable="false">   <bpmn:process id="permission_Process_permission" name="Backend permission API: action=soft_delete" isExecutable="false">
-    <bpmn:documentation>{"notes": ["BPMN isExecutable=false; генератор не выполняет handler.", "grace_deadline=Ticket.updated_at + ACCESS_REQUEST_DECLINED_CLEANUP_GRACE_DAYS.", "deferred_until=min(grace_deadline, now+DEFERRED_TICKET_RECHECK_SECONDS) при ожидании grace.", "Soft delete означает status=2; active permission не удаляется этим workflow.", "Показаны отдельные API-операции; общего commit soft-delete и CLOSED нет."], "sources": [{"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "catalog.py", "repository": "sharix-open-handlers-examples", "sha256": "e3dcb72b7e620e2837adacd7af053f35b04cdff475789496d9c114e17d57dfde"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "3e222150cbff315077c6c9b160d46e59856cedf6d6591d213e958c63cb2f2428"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/handler_operations.py", "repository": "sharix-open-handlers-backend", "sha256": "28620658501c375f556e24437871620b84a17a88d0b62b2d1a3cc5deb2f14b1e"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/data_parsers.py", "repository": "sharix-open-handlers-backend", "sha256": "d7f26f172f68e4b390f675de88fbfb3c37a58fb29d4bf3d6687b31bd7953f9e4"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/ejabberd_muc.py", "repository": "sharix-open-handlers-backend", "sha256": "35c2eba89fab36b5c444439a87beaa516b55133991136d5370418d92a18d7bcd"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/requesters.py", "repository": "sharix-open-handlers-backend", "sha256": "965a348cea477722bbaf4c8c6b06023eb238b71664a332f7ea8c90bfe72ea808"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "classes/AccessRequestTicket.py", "repository": "sharix-open-handlers-backend", "sha256": "3f3a498ae76b3d878b19a8f32170fc2a71c6c6c182bf34a6ecc50edf7b0f5eff"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "ticket_blockly_codegen.py", "repository": "sharix-open-handlers-backend", "sha256": "bce71eab622922f8dd0954222842349799b60e18a0ab6310cc3e5f305603661e"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "ticket_codegen_contract.json", "repository": "sharix-open-handlers-backend", "sha256": "0bfd2b0ebb07bd380ed3c867386536ab88ef7dfa6e13f1cd8c91d32bb02c1ae9"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "lib/tickets.py", "repository": "sharix-open-tickets", "sha256": "0d260c17947f9a186d07af2749159780e3c7354a95b4bafe9d67493663c96883"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "api/views/handler_workflow.py", "repository": "sharix-open-tickets", "sha256": "f97c4b467a9a30749f5c4b86b39a833c430e57aaa1f030f70030d9b5c609d368"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "api/handler_auth.py", "repository": "sharix-open-tickets", "sha256": "ac76dc45aaa9742e5e1da0b98aae914bb2e287048d33e97b4a245a6997bc8425"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "utils.py", "repository": "sharix-open-tickets", "sha256": "a5680205c6522e1d9a74d9d267fe9ee96faf6f06436b00877fc0a93d80234bf5"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "views/ticket_detail.py", "repository": "sharix-open-tickets", "sha256": "05d344b0fba14cf895400694d4a18f486c800fef08dd1acb43ea46909b9e7e59"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "signals.py", "repository": "sharix-open-tickets", "sha256": "39aad8690a2e7d35cebfb052127a8130a951cbb4eea316c4f767a0a59fc5fa7e"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", "path": "apiviews/handler_workflow.py", "repository": "sharix-open-backend", "sha256": "0f699a4e16760cbbdd09d894093c685ba69073fedf0522852cb1fdc9811636e3"}, {"commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", "path": "lib/dicts.py", "repository": "sharix-open-backend", "sha256": "d92ddaa0964324e337303f8de110acf6ff21e15d7b40a6e523ce78ed48b7d8c5"}]}</bpmn:documentation>+    <bpmn:documentation>{"notes": ["Схема сверена с предметным описанием и актуальными опубликованными источниками; не является исполняемым workflow."], "sources": [{"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "dc3f19fe133828698370477f124b79e6c0239a64", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "640e3fe1eaedba273e3cb880553000848c848b8754f740293b0ab80d743ac59e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/assignment.py", "repository": "sharix-open-tickets", "sha256": "2024a49e46668411d3d49ced29041c6d22db7c73f7e4e4757fab4d04bc13876e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "models/ticket.py", "repository": "sharix-open-tickets", "sha256": "1a4294d422fe38dd5a5ac055554e232ef60538c82ce77dcae2a13cb5298a09e8"}]}</bpmn:documentation>
     <bpmn:laneSet id="permission_Lanes_permission">     <bpmn:laneSet id="permission_Lanes_permission">
       <bpmn:lane id="permission_Lane_worker" name="Транзакция изменения связанного объекта">       <bpmn:lane id="permission_Lane_worker" name="Транзакция изменения связанного объекта">
Строка 773: Строка 827:
   </bpmn:process>   </bpmn:process>
   <bpmn:process id="ticket_Process_ticket" name="Backend Ticket API: отдельный запрос CLOSED после подтверждения очистки" isExecutable="false">   <bpmn:process id="ticket_Process_ticket" name="Backend Ticket API: отдельный запрос CLOSED после подтверждения очистки" isExecutable="false">
-    <bpmn:documentation>{"notes": ["BPMN isExecutable=false; генератор не выполняет handler.", "grace_deadline=Ticket.updated_at + ACCESS_REQUEST_DECLINED_CLEANUP_GRACE_DAYS.", "deferred_until=min(grace_deadline, now+DEFERRED_TICKET_RECHECK_SECONDS) при ожидании grace.", "Soft delete означает status=2; active permission не удаляется этим workflow.", "Показаны отдельные API-операции; общего commit soft-delete и CLOSED нет."], "sources": [{"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "76e0c693b628ed4a1fa34515a3f8abdff26149bb", "path": "catalog.py", "repository": "sharix-open-handlers-examples", "sha256": "e3dcb72b7e620e2837adacd7af053f35b04cdff475789496d9c114e17d57dfde"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "3e222150cbff315077c6c9b160d46e59856cedf6d6591d213e958c63cb2f2428"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/handler_operations.py", "repository": "sharix-open-handlers-backend", "sha256": "28620658501c375f556e24437871620b84a17a88d0b62b2d1a3cc5deb2f14b1e"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/data_parsers.py", "repository": "sharix-open-handlers-backend", "sha256": "d7f26f172f68e4b390f675de88fbfb3c37a58fb29d4bf3d6687b31bd7953f9e4"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/ejabberd_muc.py", "repository": "sharix-open-handlers-backend", "sha256": "35c2eba89fab36b5c444439a87beaa516b55133991136d5370418d92a18d7bcd"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "core/requesters.py", "repository": "sharix-open-handlers-backend", "sha256": "965a348cea477722bbaf4c8c6b06023eb238b71664a332f7ea8c90bfe72ea808"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "classes/AccessRequestTicket.py", "repository": "sharix-open-handlers-backend", "sha256": "3f3a498ae76b3d878b19a8f32170fc2a71c6c6c182bf34a6ecc50edf7b0f5eff"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "ticket_blockly_codegen.py", "repository": "sharix-open-handlers-backend", "sha256": "bce71eab622922f8dd0954222842349799b60e18a0ab6310cc3e5f305603661e"}, {"commit": "50baf376e224d915a87d63240f3f339b3dda9afa", "path": "ticket_codegen_contract.json", "repository": "sharix-open-handlers-backend", "sha256": "0bfd2b0ebb07bd380ed3c867386536ab88ef7dfa6e13f1cd8c91d32bb02c1ae9"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "lib/tickets.py", "repository": "sharix-open-tickets", "sha256": "0d260c17947f9a186d07af2749159780e3c7354a95b4bafe9d67493663c96883"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "api/views/handler_workflow.py", "repository": "sharix-open-tickets", "sha256": "f97c4b467a9a30749f5c4b86b39a833c430e57aaa1f030f70030d9b5c609d368"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "api/handler_auth.py", "repository": "sharix-open-tickets", "sha256": "ac76dc45aaa9742e5e1da0b98aae914bb2e287048d33e97b4a245a6997bc8425"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "utils.py", "repository": "sharix-open-tickets", "sha256": "a5680205c6522e1d9a74d9d267fe9ee96faf6f06436b00877fc0a93d80234bf5"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "views/ticket_detail.py", "repository": "sharix-open-tickets", "sha256": "05d344b0fba14cf895400694d4a18f486c800fef08dd1acb43ea46909b9e7e59"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "signals.py", "repository": "sharix-open-tickets", "sha256": "39aad8690a2e7d35cebfb052127a8130a951cbb4eea316c4f767a0a59fc5fa7e"}, {"commit": "fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", "path": "apiviews/handler_workflow.py", "repository": "sharix-open-backend", "sha256": "0f699a4e16760cbbdd09d894093c685ba69073fedf0522852cb1fdc9811636e3"}, {"commit": "778a3280cee115ba0efe3fdff7b0e708b0c10093", "path": "lib/dicts.py", "repository": "sharix-open-backend", "sha256": "d92ddaa0964324e337303f8de110acf6ff21e15d7b40a6e523ce78ed48b7d8c5"}]}</bpmn:documentation>+    <bpmn:documentation>{"notes": ["Схема сверена с предметным описанием и актуальными опубликованными источниками; не является исполняемым workflow."], "sources": [{"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "handlers/open_access_request_declined.py", "repository": "sharix-open-handlers-examples", "sha256": "3725a0a556c1cec48f66333b62b553a77095334dac1e77d1b06b95a0414dd0bc"}, {"commit": "bc48a53295d7f5be5fa8a0bbee99d8d2b1d658a1", "path": "generated_handler_blocks/open_access_request_declined.json", "repository": "sharix-open-handlers-examples", "sha256": "8911b2a9d65d51a258b434e1e9fa4d4431a965aa3f195f62ac0d3c781d15a95e"}, {"commit": "dc3f19fe133828698370477f124b79e6c0239a64", "path": "core/blockly_runtime.py", "repository": "sharix-open-handlers-backend", "sha256": "640e3fe1eaedba273e3cb880553000848c848b8754f740293b0ab80d743ac59e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/assignment.py", "repository": "sharix-open-tickets", "sha256": "2024a49e46668411d3d49ced29041c6d22db7c73f7e4e4757fab4d04bc13876e"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "services/handler_wakeup.py", "repository": "sharix-open-tickets", "sha256": "c9fdc62a18301fd7c075395c697d5b1c738c77713aa71fcbb5ab097e173d98de"}, {"commit": "99498c710fdad3f52f806191e54bd019b8cd3fb1", "path": "models/ticket.py", "repository": "sharix-open-tickets", "sha256": "1a4294d422fe38dd5a5ac055554e232ef60538c82ce77dcae2a13cb5298a09e8"}]}</bpmn:documentation>
     <bpmn:laneSet id="ticket_Lanes_ticket">     <bpmn:laneSet id="ticket_Lanes_ticket">
       <bpmn:lane id="ticket_Lane_worker" name="Отдельная транзакция">       <bpmn:lane id="ticket_Lane_worker" name="Отдельная транзакция">
Строка 969: Строка 1023:
  
 После неопределённого ответа сначала сверяют фактическое состояние. Защиту active не снимают ради повторной очистки. Ожидание при active permission — предусмотренная остановка для разбора несогласованности. После неопределённого ответа сначала сверяют фактическое состояние. Защиту active не снимают ради повторной очистки. Ожидание при active permission — предусмотренная остановка для разбора несогласованности.
- 
-===== Проверенные источники ===== 
-Git SHA, SHA-256 и параметры моделей закреплены в metadata и documentation BPMN. Код handler при анализе не исполнялся. Изменение источников требует повторного сопоставления алгоритма и API/ACL, а не одной смены хешей. 
- 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-examples/src/commit/76e0c693b628ed4a1fa34515a3f8abdff26149bb/handlers/open_access_request_declined.py|sharix-open-handlers-examples / handlers/open_access_request_declined.py]] — Git 76e0c693b628ed4a1fa34515a3f8abdff26149bb. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-examples/src/commit/76e0c693b628ed4a1fa34515a3f8abdff26149bb/generated_handler_blocks/open_access_request_declined.json|sharix-open-handlers-examples / generated_handler_blocks/open_access_request_declined.json]] — Git 76e0c693b628ed4a1fa34515a3f8abdff26149bb. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-examples/src/commit/76e0c693b628ed4a1fa34515a3f8abdff26149bb/catalog.py|sharix-open-handlers-examples / catalog.py]] — Git 76e0c693b628ed4a1fa34515a3f8abdff26149bb. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/core/blockly_runtime.py|sharix-open-handlers-backend / core/blockly_runtime.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/core/handler_operations.py|sharix-open-handlers-backend / core/handler_operations.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/core/data_parsers.py|sharix-open-handlers-backend / core/data_parsers.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/core/ejabberd_muc.py|sharix-open-handlers-backend / core/ejabberd_muc.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/core/requesters.py|sharix-open-handlers-backend / core/requesters.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/classes/AccessRequestTicket.py|sharix-open-handlers-backend / classes/AccessRequestTicket.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/ticket_blockly_codegen.py|sharix-open-handlers-backend / ticket_blockly_codegen.py]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/commit/50baf376e224d915a87d63240f3f339b3dda9afa/ticket_codegen_contract.json|sharix-open-handlers-backend / ticket_codegen_contract.json]] — Git 50baf376e224d915a87d63240f3f339b3dda9afa. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/lib/tickets.py|sharix-open-tickets / lib/tickets.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/api/views/handler_workflow.py|sharix-open-tickets / api/views/handler_workflow.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/api/handler_auth.py|sharix-open-tickets / api/handler_auth.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/utils.py|sharix-open-tickets / utils.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/views/ticket_detail.py|sharix-open-tickets / views/ticket_detail.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/signals.py|sharix-open-tickets / signals.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/commit/fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14/services/handler_wakeup.py|sharix-open-tickets / services/handler_wakeup.py]] — Git fd64704d7d9f01a5ec5b7b89cbc5afe5102b2c14. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-backend/src/commit/778a3280cee115ba0efe3fdff7b0e708b0c10093/apiviews/handler_workflow.py|sharix-open-backend / apiviews/handler_workflow.py]] — Git 778a3280cee115ba0efe3fdff7b0e708b0c10093. 
-  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-backend/src/commit/778a3280cee115ba0efe3fdff7b0e708b0c10093/lib/dicts.py|sharix-open-backend / lib/dicts.py]] — Git 778a3280cee115ba0efe3fdff7b0e708b0c10093. 
  
 ===== Связанные материалы ===== ===== Связанные материалы =====
Строка 999: Строка 1029:
   * [[sharixopen:knowledge:modules:handlers|Обработчики и граница исполнения]]   * [[sharixopen:knowledge:modules:handlers|Обработчики и граница исполнения]]
   * [[sharixopen:knowledge:scenarios:start|Все сценарии]]   * [[sharixopen:knowledge:scenarios:start|Все сценарии]]
 +
 +===== Источники реализации =====
 +  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-examples/src/branch/master/handlers/open_access_request_declined.py|sharix-open-handlers-examples / handlers/open_access_request_declined.py]].
 +  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-examples/src/branch/master/generated_handler_blocks/open_access_request_declined.json|sharix-open-handlers-examples / generated_handler_blocks/open_access_request_declined.json]].
 +  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-handlers-backend/src/branch/master/core/blockly_runtime.py|sharix-open-handlers-backend / core/blockly_runtime.py]].
 +  * [[https://git.sharix-app.org/ShariX_Open/sharix-open-tickets/src/branch/master/services/assignment.py|sharix-open-tickets / services/assignment.py]].
  
 ~~SHARIX_KNOWLEDGE_RELATED~~ ~~SHARIX_KNOWLEDGE_RELATED~~
  
sharixopen/knowledge/scenarios/access_request_declined.txt · Последнее изменение: — sx_knowledge_api_open

© 2022 ShariX