-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync_Include: Add a button to synchronize owners / moderators in Web interface #857
Comments
I might be wrong but, if I remember correctly, the owner/editor synchronization is triggered along with users synchronization when clicking the button. But maybe the button is missing when only owners.editors are included from data sources, and not users? |
Hello, I have tested the workaround of @dverdin, but without success. Here is the test protocol:
Command to force the synchronization task to run after one minutes: $ mv var/spool/sympa/task/{*,$(date -d "$(date) 1 minutes" +'%s')}.INIT.sync_include.foo@<my_domain> Note: don't forget to replace <my_domain> with your email domain and "foo" with your list name list.incl:
Log when adding the Bar list:
Log when using the "Synchronize members with data sources" button:
Log when forced execution of the synchronization task:
I have two comments:
Regards. |
…s in Web interface (sympa-community#857)
…s in Web interface (sympa-community#857)
…s in Web interface (sympa-community#857)
…s in Web interface (sympa-community#857)
…s in Web interface (sympa-community#857)
Hi @aepli , Could you please apply this patch and check if the feature you requested will work properly?
|
Hi @ikedas, I only tested this patch, as it contains the two fixes. The features work properly, I just note a few points.
Regards. |
Thanks!
I can't decide on which side these buttons would be better to be placed.
IMHO updating parameters for data sources need not adding/removing those users immediately. Because if (one or more) big data sources were updated, web interface would stall for a long time. I'll add a message describing "Members (or owners, moderators) will be updated soon (or later)".
Such tasks will add no more users, but they have to remove users who have been included. |
Hi @ikedas, Thank you for this clarifications. Regards. |
@aepli, I added some messages to describe update will be made later. As changes has been merged into current sympa-6.2 branch and will be included in the next release, it's grateful that you will check it and suggest more improvements. |
Expected Behavior
As with members, owners and moderators can be added dynamically from data sources.
Now that the management of members, owners and moderators are in the same menu.
Could you add a button to synchronize the owners / moderators in the same way as the "Synchronize members with data sources" button of the members (action_sync_include) ?
Current Behavior
Synchronization is performed once when the data source is added and then only using a scheduled task.
Context
We have many of lists with dynamic owners and / or moderators. This functionality would be of great help when deleting rights, since user synchronization is only daily.
Thank you in advance for your help.
Regards.
The text was updated successfully, but these errors were encountered: