You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Arnold Miller <ar...@gmx.com> on 2019/10/11 20:33:01 UTC
How to delete old users
Hi!
How can I configure Syncope to delete users that are not anymore in the
identity store where I pulled them from?
I'm currently using version 2.1.4
Thanks
Best Regards,
Arnold Miller
Re: How to delete old users
Posted by Arnold Miller <ar...@gmx.com>.
Looks like I might need something else. I see this in my logs: "Sync script:
found 1411 events to sync."
However, when I go to realms it shows a different number: "Showing 1 to 10 of
1526 rows"
That's the number I expect to be decreased. It should be 1411, isn't it?
That's the whole number of users that the query brings
Best Regards,
Arnold Miller
**Sent:** Tuesday, October 22, 2019 at 4:45 AM
**From:** "Francesco Chicchiricco" <il...@apache.org>
**To:** user@syncope.apache.org
**Subject:** Re: How to delete old users
On 21/10/19 22:40, Arnold Miller wrote:
> Hi Francesco,
>
> I set my Pull Task in INCREMENTAL mode and the SYNC operation was already
available for the related connector but Syncope did not delete any old users.
Any clues?
>
>
>
> Task configuration:
>
> Pull mode: Incremental
>
> Matching rule: Update
>
> Unmatching rule: Provision
>
> Allow create: checked
>
> Allow update: checked
>
> Allow delete: unchecked
>
> Sync status: unchecked
Ah!
Of course "Allow delete" should be checked...
Regards.
> **Sent:** Saturday, October 12, 2019 at 6:59 AM
> **From:** "Francesco Chicchiricco"
[<il...@apache.org>](mailto:ilgrosso@apache.org)
> **To:** user [<us...@syncope.apache.org>](mailto:user@syncope.apache.org)
> **Subject:** Re: How to delete old users
>
> On Il 11-ott-19, alle 22:33, Arnold Miller
[<ar...@gmx.com>](mailto:arnold.miller7x@gmx.com) wrote:
>
>> Hi!
>>
>> How can I configure Syncope to delete users that are not anymore in the
identity store where I pulled them from?
>>
>> I'm currently using version 2.1.4
>
> Hi,
> you need to set your Pull Task in INCREMENTAL mode [1], as "This is the
only mode which allows pulling delete events".
>
> Beware that ConnId's SYNC operation must be available for the related
connector, otherwise incremental pull is not possible.
>
>
>
> HTH
>
> Regards.
>
>
>
> [1] <http://syncope.apache.org/docs/2.1/reference-guide.html#pull-mode>
--
Francesco Chicchiricco
Tirasa - Open Source Excellence
<http://www.tirasa.net/>
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
<http://home.apache.org/~ilgrosso/>
Re: How to delete old users
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 21/10/19 22:40, Arnold Miller wrote:
> Hi Francesco,
> I set my Pull Task in INCREMENTAL mode and the SYNC operation was already available for the related connector but Syncope did not delete any old users. Any clues?
>
> Task configuration:
> Pull mode: Incremental
> Matching rule: Update
> Unmatching rule: Provision
> Allow create: checked
> Allow update: checked
> Allow delete: unchecked
> Sync status: unchecked
Ah!
Of course "Allow delete" should be checked...
Regards.
> *Sent:* Saturday, October 12, 2019 at 6:59 AM
> *From:* "Francesco Chicchiriccò" <il...@apache.org>
> *To:* user <us...@syncope.apache.org>
> *Subject:* Re: How to delete old users
> On Il 11-ott-19, alle 22:33, Arnold Miller <ar...@gmx.com> wrote:
>
> Hi!
> How can I configure Syncope to delete users that are not anymore in the identity store where I pulled them from?
> I'm currently using version 2.1.4
>
> Hi,
> you need to set your Pull Task in INCREMENTAL mode [1], as "This is the only mode which allows pulling delete events".
> Beware that ConnId's SYNC operation must be available for the related connector, otherwise incremental pull is not possible.
>
> HTH
> Regards.
>
> [1] http://syncope.apache.org/docs/2.1/reference-guide.html#pull-mode
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/
Re: How to delete old users
Posted by Arnold Miller <ar...@gmx.com>.
Hi Francesco,
I set my Pull Task in INCREMENTAL mode and the SYNC operation was already
available for the related connector but Syncope did not delete any old users.
Any clues?
Task configuration:
Pull mode: Incremental
Matching rule: Update
Unmatching rule: Provision
Allow create: checked
Allow update: checked
Allow delete: unchecked
Sync status: unchecked
Best Regards,
Arnold Miller
**Sent:** Saturday, October 12, 2019 at 6:59 AM
**From:** "Francesco Chicchiricco" <il...@apache.org>
**To:** user <us...@syncope.apache.org>
**Subject:** Re: How to delete old users
On Il 11-ott-19, alle 22:33, Arnold Miller <ar...@gmx.com> wrote:
> Hi!
>
> How can I configure Syncope to delete users that are not anymore in the
identity store where I pulled them from?
>
> I'm currently using version 2.1.4
Hi,
you need to set your Pull Task in INCREMENTAL mode [1], as "This is the only
mode which allows pulling delete events".
Beware that ConnId's SYNC operation must be available for the related
connector, otherwise incremental pull is not possible.
HTH
Regards.
[1] <http://syncope.apache.org/docs/2.1/reference-guide.html#pull-mode>
\--
Francesco Chicchiricco
Tirasa - Open Source Excellence
<http://www.tirasa.net/>
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
<http://home.apache.org/~ilgrosso/>
Re: How to delete old users
Posted by Francesco Chicchiriccò <il...@apache.org>.
On Il 11-ott-19, alle 22:33, Arnold Miller <ar...@gmx.com> wrote:
> Hi!
> How can I configure Syncope to delete users that are not anymore in the identity
> store where I pulled them from?
> I'm currently using version 2.1.4
Hi,
you need to set your Pull Task in INCREMENTAL mode [1], as "This is the only mode which allows pulling delete events".
Beware that ConnId's SYNC operation must be available for the related connector, otherwise incremental pull is not possible.
HTH
Regards.
[1] http://syncope.apache.org/docs/2.1/reference-guide.html#pull-mode
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/