Open easaw opened 7 months ago
Hello @easaw,
Very interesting idea. AAM does not have the ability to connect with other websites to make the actual sync. However, we may consider implementing something like this down the road.
Right now there are only two possible ways to go about it - export AAM settings as JSON (on the AAM "Settings" page) or define your access controls as access policies and copy&paste them between sites.
Regards.
Hello @easaw,
Very interesting idea. AAM does not have the ability to connect with other websites to make the actual sync. However, we may consider implementing something like this down the road.
@aamplugin
Hi, I did find a way to do this, but it's a bit edge case... Nevertheless;
I have a single site that uses a simple CRON to update a txt file with the settings from MySQL (I'll eventually have it update when the settings are saved).
Then, on each 'remote' site I have an MU plugin that checks the txt file for changes, then updates the local MySQL with that content.
At some point I would like to implement versioning, so any updates can be rolled back. But I'll probably just use Git(hub/lab/tea) rather than handle the versioning inside WP itself.
I would like to have a single AAM that I can update and push changes to other AAM installs (UiPress has a sync function for example - https://uipress.co/docs/#/doc/11977/).
Is there a current way to do this with the API, or just replace via MySQL?
Thank you.