YunoHost-Apps / mailman_ynh

Mailman packaging for YunoHost
http://www.list.org/
GNU Affero General Public License v3.0
10 stars 2 forks source link

Can't access admin #27

Open keomabrun opened 3 years ago

keomabrun commented 3 years ago

Hi,

I use to access my mailman admin page using a link of the following form: https://mydomain/mailman/admindb/admins Since I updated mailman to v2.1.29 I get redirected to the Yunohost user page (the page with the colored tiles) everytime I try to access the mailman admin.

I can however still access the list configurations, such as https://mydomain/mailman/listinfo/admins

Let me know if I can collect more information for you !

Cheers

alexAubin commented 3 years ago

Could it be that the problem appeared after moving to Yunohost 4.1 maybe ?

keomabrun commented 3 years ago

indeed, I did both update the same day

alexAubin commented 3 years ago

Ah so I think it's also related to:

https://github.com/YunoHost-Apps/mailman_ynh/blob/master/scripts/install#L128

bzg commented 3 years ago

I've been scratching my head about this too, after the same upgrade.

I confirm that commenting out the uris field within the mailman.legacy_protected_uris block in /etc/ssowat/conf.json fixed the problem for me:

"uris": [
    // "yourdomain.com/lists/admin"
    ],

Thanks for reporting this issue, as I would have given up on this otherwise!

keomabrun commented 3 years ago

De notre coté on a finalement ajouté les droits via la magnifique interface web de Yuno et ça fonctionne maintenant très bien.

image

bzg commented 3 years ago

Wonderful, thanks!