openwisp-users icon indicating copy to clipboard operation
openwisp-users copied to clipboard

Implementation of user management and multi-tenancy for OpenWISP

Results 36 openwisp-users issues
Sort by recently updated
recently updated
newest added

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...

enhancement

I have the following situation: * 2 organizations A and B: ![grafik](https://user-images.githubusercontent.com/5543887/180463765-d460da51-7cb4-47ac-bb11-259fd24612fc.png) * An user `org_admin` who is admin in both organizations: ![grafik](https://user-images.githubusercontent.com/5543887/180464422-7806402c-f490-4a8a-8b64-c6a51caa6956.png) * The superuser `admin` sees the following...

bug

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....

enhancement
Hacktoberfest

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:...

enhancement
good first issue

`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....

bug

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...

bug
important

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...

enhancement

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...

enhancement

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...

enhancement