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
The functionality in this commit b4cb116 was added because a misunderstanding on my side of how the django permission system works.
The permissions are already cached and well handled by django so we don't really need to have those methods, which are buggy and don't work well, I just found out that changin the group of a user on the latest master of the OpenWISP modules causes the menu items to be removed entirely and it's not worth to fix, let's just remove this code and use the default has_perm method of django.
The text was updated successfully, but these errors were encountered:
This code was introduced because of a misunderstanding.
It's not only not necessary but also buggy, better remove it and
use the permission helpers provided by Django.
Closes#266
This code was introduced because of a misunderstanding.
It's not only not necessary but also buggy, better remove it and
use the permission helpers provided by Django.
Closes#266
The functionality in this commit b4cb116 was added because a misunderstanding on my side of how the django permission system works.
The permissions are already cached and well handled by django so we don't really need to have those methods, which are buggy and don't work well, I just found out that changin the group of a user on the latest master of the OpenWISP modules causes the menu items to be removed entirely and it's not worth to fix, let's just remove this code and use the default
has_perm
method of django.The text was updated successfully, but these errors were encountered: