Editing the options page shown to you when you are not logged in
Dear all,
I want to adapt the member options page when I am *not* logged in. For example: https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
The 'Edit the public HTML pages and text files' option at the admin interface only contains a possibility to adapt the option page for members who are already logged in.
How can I adapt the page I described first?
Thank you for any help. Flo.
PS: I am using 2.1.19
Flo wrote:
Dear all,
I want to adapt the member options page when I am *not* logged in. For example: https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
That would be a massive security hole, Or I do not understand what you mean.
To simulate what you are looking at I tried an edited URL http://mailman.berklix.org/mailman/options/test/somename%40stolenvotes.uk
The 'Edit the public HTML pages and text files' option at the admin interface
Do you mean at your equivalent of my http://mailman.berklix.org/mailman/admin/test
only contains a possibility to adapt the option page for members who are already logged in.
No. An admin can edit individuals' attributes regardless if user is logged in.
I see eg: http://mailman.berklix.org/mailman/admin/test/members With a table of addresses & attributes, unsub
member address
member name
mod
hide
nomail
[reason]
ack
not metoo
nodupes
digest
plain
language
How can I adapt the page I described first?
It may help people answer if you quote more URLs & if you want to change attributes for whole list or individual member ?
Thank you for any help. Flo.
PS: I am using 2.1.19
I'm on mailman-2.1.22
Cheers, Julian
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent 700,000 Brexit votes stolen from British in EU; 2.4 M UK young had no vote; 1.6 M died; Lies paid & fined. Treason to threaten parliament to prorogue it. http://stolenvotes.uk
On August 19, 2019 7:09:26 AM PDT, "Julian H. Stacey" jhs@berklix.com wrote:
Flo wrote:
Dear all,
I want to adapt the member options page when I am *not* logged in. For example:
https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
That would be a massive security hole, Or I do not understand what you mean.
At first I thought the same, but the subject is clear. He wants to edit the response one gets when going to one's options page without being logged in.
I'll post a detailed response to that when I get home.
-- Mark Sapiro mark@msapiro.net Sent from my Not_an_iThing with standards compliant, open source software.
On August 19, 2019 7:09:26 AM PDT, "Julian H. Stacey" jhs@berklix.com wrote:
Flo wrote:
Dear all,
I want to adapt the member options page when I am *not* logged in. For example:
https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
That would be a massive security hole, Or I do not understand what you mean.
At first I thought the same, but the subject is clear. He wants to edit the response one gets when going to one's options page without being logged in.
I'll post a detailed response to that when I get home.
-- Mark Sapiro mark@msapiro.net Sent from my Not_an_iThing with standards compliant, open source software.
-- Mark Sapiro mark@msapiro.net Sent from my Not_an_iThing with standards compliant, open source software.
On 8/19/19 4:09 PM, Julian H. Stacey wrote:
Flo wrote:
Dear all,
I want to adapt the member options page when I am *not* logged in. For example: https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
That would be a massive security hole, Or I do not understand what you mean.
I apologize for not being clear in that sentence. Yes, it can be easily understood the way you did. I think, Mark got it.
Thank you for replying!
Regard, Flo
On 8/19/19 2:23 AM, Flo wrote:
I want to adapt the member options page when I am *not* logged in. For example: https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
This page is built on the fly by the loginpage() function in Mailman/Cgi/options.py using hard coded strings. See the FAQ I just created at https://wiki.list.org/x/17892046 for suggested ways to change these strings.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 8/20/19 12:38 AM, Mark Sapiro wrote:
On 8/19/19 2:23 AM, Flo wrote:
I want to adapt the member options page when I am *not* logged in. For example: https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
This page is built on the fly by the loginpage() function in Mailman/Cgi/options.py using hard coded strings. See the FAQ I just created at https://wiki.list.org/x/17892046 for suggested ways to change these strings.
I checked this page. And checked the source files.
Before I change anything I see, let's say, difficulties:
.) The changes are not by list (as possible for the listinfo page, for example) but by server. .) I want to rearrange the sections: the unsubscribe section should be first to make it easy to leave the list (to be more compliant to the General Data Protection Regulation (GDPR) in Europe). For me, sending a one-click link (with the password included) is not compliant as this is a data security issue. For this rearranging I need to change options.py as well. .) With every update I do I need to redo the changes described before.
Especially the German page needs to be changed. Translation is wrong. I think some text from another page found its way to this page. For that I will get in contact with the one who is dealing the the German translation anyway.
Do you see a possibility to work around the difficulties I described above?
Thank you!
Regards, Flo.
On 8/20/19 2:31 AM, Flo wrote:
On 8/20/19 12:38 AM, Mark Sapiro wrote:
On 8/19/19 2:23 AM, Flo wrote:
I want to adapt the member options page when I am *not* logged in. For example: https://mail.python.org/mailman/options/mailman-users/debianflo%40gmx.at
This page is built on the fly by the loginpage() function in Mailman/Cgi/options.py using hard coded strings. See the FAQ I just created at https://wiki.list.org/x/17892046 for suggested ways to change these strings.
I checked this page. And checked the source files.
Before I change anything I see, let's say, difficulties:
.) The changes are not by list (as possible for the listinfo page, for example) but by server. .) I want to rearrange the sections: the unsubscribe section should be first to make it easy to leave the list (to be more compliant to the General Data Protection Regulation (GDPR) in Europe). For me, sending a one-click link (with the password included) is not compliant as this is a data security issue. For this rearranging I need to change options.py as well. .) With every update I do I need to redo the changes described before.
Especially the German page needs to be changed. Translation is wrong. I think some text from another page found its way to this page. For that I will get in contact with the one who is dealing the the German translation anyway.
Do you see a possibility to work around the difficulties I described above?
The ideal way to accomplish what you want is to modify the loginpage() function in options.py to build the page from a template as is done for many other pages. That way, you could make list and language specific versions of the template.
I have no plan to do this for the source distribution, but I would consider a merge proposal https://code.launchpad.net/~mailman-coders/mailman/2.1.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Flo
-
Julian H. Stacey
-
Mark Sapiro