Closed codesankalp closed 2 years ago
In tests, the administrator couldn't view the object because the administrator was not the manager of any organization.
https://github.com/openwisp/openwisp-users/blob/36fae27a9e60fa57f671ff3feb628efb0bfc16b7/openwisp_users/api/permissions.py#L66-L76
Added manager permission by making admin (to view object details).
In tests, the administrator couldn't view the object because the administrator was not the manager of any organization.
https://github.com/openwisp/openwisp-users/blob/36fae27a9e60fa57f671ff3feb628efb0bfc16b7/openwisp_users/api/permissions.py#L66-L76
Added manager permission by making admin (to view object details).