openwisp-users
openwisp-users copied to clipboard
Implementation of user management and multi-tenancy for OpenWISP
Right now, shared objects (eg: shared templates, shared vpns) are hidden to non superusers. The objects are hidden also when selecting related objects, eg: a non superuser cannot select a...
I have the following situation: * 2 organizations A and B:  * An user `org_admin` who is admin in both organizations:  * The superuser `admin` sees the following...
The list of organization accessible to a superadmin user can be potentially very large, this can slow down page loading in all list pages which have a filter by organization....
Add a method in the User model that allow invalidation the organizations cache of the user. **Possible Solution** ```python # In openwisp_users.base.models.AbstractUser def _invalidate_organization_organizations_dict(self): cache.delete('user_{}_organizations'.format(self.pk)) try: del user.organizations_managed except AttributeError:...
`FilterSerializerByOrganization` filters queryset of all related fields using the `organization_lookup`. But, it might be possible that a model does not have relation to `Organization` (not even an indirect one, e.g....
The API mixins and classes added recently to openwisp-users have been based on code from openwisp-firmware-upgrader, but while working on openwisp/openwisp-firmware-upgrader#142 to remove the code initially added to the firmware-upgrader...
We should add a way to easily find out the REST framework auth token of the user logged in the admin and document this. I think we can do so...
We may be able to restrict the queryset of fields which relate to other models so that only objects that relate to the organization of the parent are shown. We...
The organization fields should be turned into autocomplete/select2 fields .
When the user logged in has access to only one organization, the organization select should automatically set that org as the default value, the user should not need to select...