-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to delete legacy permissions #5113
Comments
Thank you for opening a bug report. I was unable to reproduce the reported behavior on NetBox v2.9.3. Please re-confirm the reported behavior on the current stable release and adjust your post above as necessary. Remember to provide detailed steps that someone else can follow using a clean installation of NetBox to reproduce the issue. Remember to include the steps taken to create any initial objects or other data. |
The initial objects and permissions have been created in early versions of netbox. I am able to reproduce this with adding permissions as well:
As the permissions can be removed after all, the impact of this is not too big. |
same issue |
same issue edit: changes are reflected via the API. For example if I delete a permission from the Admin interface it will still show in the list, but I can request that specific permission via the API and it is not present. GET /api/users/permissions/?group=NetworkServicesNetBoxAll&name=extras.scripts-reports_modify |
I'm not able to replicate anything resembling the reported behavior. Does it still happen if you disable caching? (Set |
I tested the following: Set
Wait 2 minutes
Set
|
Looks like yet another caching bug. |
First, I can confirm this bug with these steps:
I am able to resolve this by adding I know cacheops explicitly disables caching for |
Environment
Steps to Reproduce
Expected Behavior
Saves the Group and removes the selected permission
Observed Behavior
As expected the group is closed and there is the banner: "The Group “myGroup" was changed successfully."
But the permission still shows up in the group overview, though in change permission menu of the same permission the group is not mentioned anymore.
The text was updated successfully, but these errors were encountered: