Commit Graph

2 Commits

Author SHA1 Message Date
jygaulier
0df5d004ae PHRAS-4140 sb-filter-for-expiringrights (#4594)
* add 'status' filter (for "owners" job)

```json
// type
'target' => 'owners',
// filters
'databox' => 'db_databox1',
'status' => '00xxxx',
'collection' => ['test', 'boo'],
'expire_field' => 'ExpireDate',
'prior_notice' => -30,
// action
'set_status' => '01xxxx',
'alerts' => [
   [
      'method' => 'webhook',
      'recipient' => [
         'bob@a.fr',
         'joe@b.com',
      ],
   ],
],

```

* add 'set_collection' action (for "owners" job)
acts on records using api, not sql

* add negated clause on 'set_collection'
2025-03-17 10:46:59 +01:00
jygaulier
1979ad0f79 PHRAS-4078_ExpiringRight-to-core (#4526)
* wip do not merge

* fix event EXPORT_CREATE for basket download

* fix bad conf (not a worker)

* fix bad table name
2024-07-17 17:11:55 +02:00