You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying to edit the default dashboard on the default user.
But when trying to "operate as user" you get an error page.
To Reproduce
Steps to reproduce the behavior:
Go to 'Tools --> User and API Administrations --> Default user'
Click on 'Operate as user'
See error
Expected behavior
To be able to operate as another user and edit the default dashboard.
Screenshots
Tracebacks
Traceback (most recent call last):
File "/opt/venvs/nav/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/opt/venvs/nav/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/venvs/nav/lib/python3.9/site-packages/django/views/decorators/debug.py", line 89, in sensitive_post_parameters_wrapperreturn view(request, *args, **kwargs)
File "/opt/venvs/nav/lib/python3.9/site-packages/nav/web/useradmin/views.py", line 83, in account_detailreturn sudo_to_user(request)
File "/opt/venvs/nav/lib/python3.9/site-packages/nav/web/useradmin/views.py", line 221, in sudo_to_user
sudo(request, sudo_account)
TypeError: 'module' object is not callable
Environment (please complete the following information):
Ubuntu 22.04.3, Vivaldi 6.4.3160.44 (Stable channel) stable (64-bit) Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
OS on the NAV server [Debian 11]
NAV version installed [5.8.0]
Method of installation [Debian package]
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to edit the default dashboard on the default user.
But when trying to "operate as user" you get an error page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To be able to operate as another user and edit the default dashboard.
Screenshots
Tracebacks
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: