[GH-ISSUE #162] Cannot define a new domain administrator #147

Closed
opened 2026-02-27 11:10:19 +03:00 by kerem · 1 comment
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/162

Originally assigned to: @tonioo on GitHub.

Originally created by Antoine Nguyen on 2011-07-13T08:33:33Z

Seen just after the submission:

[[NameError]] at /modoboa/admin/permissions/add/

global name 'user' is not defined

Request Method:     POST
Request URL:    http://172.16.12.45/modoboa/admin/permissions/add/
Django Version:     1.3
Exception Type:     NameError
Exception Value:    

global name 'user' is not defined

Exception Location:     /srv/www/modoboa/admin/permissions.py in add, line 103
Python Executable:  /usr/bin/python
Python Version:     2.7.1
Python Path:    

['/srv/www/modoboa',
 '/usr/local/bin',
 '/usr/local/lib/python2.7/dist-packages/sievelib-0.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Django-1.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/South-0.7.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/gunicorn-0.12.2-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.7',
 '/srv/www',
 '/srv/www/modoboa']

Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/162 Originally assigned to: @tonioo on GitHub. **Originally created by Antoine Nguyen on 2011-07-13T08:33:33Z** Seen just after the submission: <pre> [[NameError]] at /modoboa/admin/permissions/add/ global name 'user' is not defined Request Method: POST Request URL: http://172.16.12.45/modoboa/admin/permissions/add/ Django Version: 1.3 Exception Type: NameError Exception Value: global name 'user' is not defined Exception Location: /srv/www/modoboa/admin/permissions.py in add, line 103 Python Executable: /usr/bin/python Python Version: 2.7.1 Python Path: ['/srv/www/modoboa', '/usr/local/bin', '/usr/local/lib/python2.7/dist-packages/sievelib-0.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Django-1.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/South-0.7.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/gunicorn-0.12.2-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/srv/www', '/srv/www/modoboa'] </pre>
kerem 2026-02-27 11:10:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Redmine Admin on 2011-07-13T08:34:55Z

In [ebc8f95515872ddcf911e1a6a4e8a81c4264830b]:

#!CommitTicketReference repository="" revision="ebc8f95515872ddcf911e1a6a4e8a81c4264830b"
Using mb.user instead of user which is not defined :p
fixed #149
<!-- gh-comment-id:29813875 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Redmine Admin on 2011-07-13T08:34:55Z** In [ebc8f95515872ddcf911e1a6a4e8a81c4264830b]: <pre> #!CommitTicketReference repository="" revision="ebc8f95515872ddcf911e1a6a4e8a81c4264830b" Using mb.user instead of user which is not defined :p fixed #149 </pre>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#147
No description provided.