Closed josereyero closed 9 years ago
While the option of Webapp invoking some service in collaborate will be more scalable in the long term, I am implementing the 'polling' option for now that will be a temporary, but faster, solution.
This is deployed to Production and Staging site but only enabled in staging for now, will need some testing.
New options are here, to enable/disable automatic account updates, https://collaborate-pre.thegooddata.org/admin/config/tgd/sso
Enabled in production too. Now all user accounts are checked periodically (timing is configurable), they are disabled when disabled on the master server.
Cannot really say it is working on production system -no accounts deleted so far...?, cannot cancel real live accounts just for the sake of testing since data will be lost-, but it's been working on pre for some time.
Marking as done.
As we are implementing account deletion in the webapp, we need to add some polling (maybe on cron, for accounts that haven't been used for a while) to disable accounts on OA side.
The other option would be Webapp invoking some service in collaborate when account is deleted.
See https://github.com/thegooddata/webapp/issues/54