Hi, I wanted to give another user the ability to create lists, so added that user as 'owner' of the domain. But he does not see the 'create list' button.
I decided to try deleting him as owner, and the result is a
python exception:
KeyError: 'file' ERROR 2021-03-01 20:35:07,195 550 django.request Internal Server Error: /postori us/domains/sel4.systems/owners/b55d58c434c94f6dbd19ae338502dd2e/remove Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python3/dist-packages/django/views/decorators/http.py", line 40 , in inner return func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view return view_func(request, *args, **kwargs) File "/usr/lib/python3/dist-packages/postorius/auth/decorators.py", line 75, i n wrapper return fn(*args, **kwargs) File "/usr/lib/python3/dist-packages/postorius/views/domain.py", line 182, in remove_owners remove_email = client.get_user(user_id).addresses[0].email File "/usr/lib/python3/dist-packages/mailmanclient/client.py", line 324, in get_user display_name=display_name)) File "/usr/lib/python3/dist-packages/mailmanclient/restbase/connection.py", line 111, in call raise HTTPError(url, response.status_code, urllib.error.HTTPError: HTTP Error 404: 404 Not Found
Mailman Core Version GNU Mailman 3.2.2 (La Villa Strangiato) Mailman Core API Version 3.0 Mailman Core Python Version 3.9.0+ (default, Oct 19 2020, 09:51:18) [GCC 10.2.0]
Peter C
"peter" == peter <peter@chubb.wattle.id.au> writes:
peter> Hi, I wanted to give another user the ability to create lists, peter> so added that user as 'owner' of the domain. But he does not peter> see the 'create list' button.
peter> I decided to try deleting him as owner, and the result is a peter> python exception:
The 'error on deletion' goes away after upgrading to Mailman 3.3. But the original issue (domain owners can't create lists) is still there.
Peter C
On 3/2/21 1:55 PM, peter@chubb.wattle.id.au wrote:
The 'error on deletion' goes away after upgrading to Mailman 3.3. But the original issue (domain owners can't create lists) is still there.
This is still very much a work in progress. Currently domain owners can (I think) create domain specific templates, but they can't create lists in their domains.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
"Mark" == Mark Sapiro <mark@msapiro.net> writes:
Mark> This is still very much a work in progress. Currently domain Mark> owners can (I think) create domain specific templates, but they Mark> can't create lists in their domains.
So is there any way to delegate list creation? Or does the site owner always have to do it?
Peter C
On 3/2/21 2:46 PM, peter@chubb.wattle.id.au wrote:
So is there any way to delegate list creation? Or does the site owner
You should be able to do it via REST outside of Postorius, but that would involve setting up some web form to actually do it.
Or you could work on implementing it in Postorius and submit a merge request.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
peter@chubb.wattle.id.au