> Source: https://docs.cyberelements.io/identity/7.0/ga/UserDocumentation/AutomaticProvisioningConnectorsManagement/CreateModifySynchronizationRules/

# Rialacha sioncrónaithe a chruthú/a mhodhnú

Is é cuspóir rialach sioncrónaithe na hoibríochtaí atá le cur i bhfeidhm ar na réada éagsúla san fhoinse sprice a shainiú. Ginfidh toradh rialach sioncrónaithe comhad sonraí i bhformáid XML, ar a dtugtar **DELTA**.

Is é atá i riail sioncrónaithe ná toradh tacair rialacha a chuirtear i bhfeidhm ar cheann de na foinsí seo a leanas:

- Easpórtáil ón bhfoinse údarásach,
- Easpórtáil ón bhfoinse sprice,
- DELTA.

Is iad seo na rialacha éagsúla is féidir a chur i bhfeidhm:

- Riail scagtha,
- Riail tiontaithe,
- Riail Matching,
- Riail MAP,
- Riail SSOX,
- Riail chúltaca.

Sainítear gach riail in ord ar leith mar go bhféadfadh siad a bheith ag brath ar a chéile.

Gintear an comhad DELTA den chéad uair tar éis na rialach Matching. Is féidir é a mhodhnú ansin le rialacha eile, amhail rialacha scagtha nó tiontaithe.

Chun riail ar leith a chruthú i riail sioncrónaithe, cliceáil an cnaipe “New”. Roghnaigh riail ó liosta na n-oibríochtaí, ansin cliceáil an cnaipe “Modify” chun í a mhodhnú nó an cnaipe “Delete” chun í a scriosadh.

![](https://docs.cyberelements.io/identity/7.0/img/Identity/IdU_RegleSynchronisation.png)

Iontráil ainm don riail agus roghnaigh ón liosta cineál na rialach atá le cruthú. I riail sioncrónaithe, is féidir roinnt rialacha tiontaithe, scagtha nó MAP a bheith ann, ach caithfidh na rialacha Match, Save agus SSOX a bheith uathúil.

![](https://docs.cyberelements.io/identity/7.0/img/Identity/IdU_RegleSynchronisationNouvelleOperation.png)

Tar éis cineál na rialach a roghnú, iontráil an sprioc a gcuirfear an riail i bhfeidhm uirthi.

**Tábla de na spriocanna rialach a ghlactar leo de réir chineál na rialach:**

|  | SOURCE (foinse údarásach) | TARGET (foinse sprice) | DELTA (comhad comparáide) |
|---|---|---|---|
| Scagadh | X | X | X |
| Tiontú | X | X | X |
| Matching |  |  | X |
| MAP | X | X | X |
| SSOX | X | X |  |
| Cúltaca |  |  | X |

## Rialacha Matching éigeantacha i nascóirí soláthair ionchuir

Déantar cur síos thíos ar na hoibríochtaí éigeantacha atá le comhtháthú i nascóirí soláthair ionchuir.

- Aitheantais
    - Matching Rules
        - Destination attribute (Identity Ref) = uid
    - On Create
        - SET type = [cód chineál an duine]
    - On Modify
        - MULTDSTCOPY ID agus type
    - On Delete
        - DSTCOPY ID
- Áirimh (aitheantais, leithdháiltí, struchtúir nó cuntais)
    - Matching Rules
        - Destination attributes (Ref Identity) = type, code
    - On Create
        - SET type agus code
    - On Modify
        - DSTCOPY = ID
    - On Delete
        - DSTCOPY = ID
- Tábla tras-tagartha
    - Matching Rules
        - Destination attributes (Ref Identity) = type, key
    - On Create
        - SET type agus key
    - On Modify
        - DSTCOPY = ID
    - On Delete
        - DSTCOPY = ID
- Leithdháiltí
    - Matching Rules
        - Destination attribute (Identity Ref) = resource_code
    - On Create
        - SET type = [cód chineál an leithdháilte] agus resource_code [cód an réada atá le cruthú]
    - On Modify
        - MULTDSTCOPY ID agus type
    - On Delete
        - MULTDSTCOPY = ID
- Struchtúir
    - Matching Rules
        - Destination attribute (Identity Ref) = structure_code
    - On Create
        - SET = type [cód chineál an struchtúir] agus resource_code [cód an réada atá le cruthú]
    - On Modify
        - MULTDSTCOPY ID agus type
    - On Delete
        - DSTCOPY ID
- Cuntais (ní fheidhmíonn siad ach chun athruithe a bhainistiú)
    - Matching Rules
        - Destination attribute (Identity Ref) = account_login
    - On Modify
        - MULTDSTCOPY ID, type
- Róil
    - Matching Rules
        - Destination attribute (Identity Ref) = code
    - On Create
        - SET = code
    - On Modify
        - MULTDSTCOPY = ID
    - On Delete
        - MULTDSTCOPY = ID
- Údaruithe
    - Matching Rules
        - Destination attribute (Identity Ref) = code agus application
    - On Create
        - SET = code agus application
    - On Modify
        - MULTDSTCOPY = ID
    - On Delete
        - MULTDSTCOPY = ID
- Nuashonruithe ar stádais soláthair
    - Matching Rules
        - Destination attribute (Identity Ref) = account_login
    - Compare Rules
        - COMPAREATTNAME = account_login
    - On Create
        - SET = account_type
    - On Modify
        - DSTCOPY = account_id
    - On Delete
        - MULTDSTCOPY = account_id
- Naisc idir aitheantas agus ról
    - Matching Rules
        - Destination attributes (Identity Ref) = person, role
    - On Create
        - SET person, role
    - On Modify
        - MULTDSTCOPY = id
    - On Delete
        - MULTDSTCOPY = id
- Naisc idir aitheantas, ról agus údarú
    - Matching Rules
        - Destination attributes (Identity Ref) = person, role, right
    - On Create
        - SET person, role, right
    - On Modify
        - MULTDSTCOPY = id
    - On Delete
        - MULTDSTCOPY = id
