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
Describe the bug
When you delete a user via the admin, then the nodes he owns are unregistered but their access isn't reevaluated which leaves devices online although they are now unregistered
To Reproduce
Register a device under any user
Go in Users->click on the user details->Hit delete
Device is unreg but no access reevaluation was done
Expected behavior
After unregistering the device, access reevaluation should be performed
The text was updated successfully, but these errors were encountered:
This scenario cannot happen as explained.
When a user is deleted all their nodes are deleted from the database. https://github.com/inverse-inc/packetfence/blob/devel/db/pf-schema-10.2.0.sql#L191
Obviously, we still need to unreg and reevaluate before the deletion.
Should we warn that the user has registered nodes on the system before letting them be deleted?
Describe the bug
When you delete a user via the admin, then the nodes he owns are unregistered but their access isn't reevaluated which leaves devices online although they are now unregistered
To Reproduce
Expected behavior
After unregistering the device, access reevaluation should be performed
The text was updated successfully, but these errors were encountered: