-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Handle fabric removal, factory reset in access control #13876
Comments
Use the "public" API to delete entries for a fabric. Tested (on Linux using chip-all-clusters-app and chip-tool) by commissioning on three fabrics, with 3, 2, and 2 distinct ACLs, then removing the second (middle) fabric, and verifying that the remaining 5 ACLs are preserved, even after restart. Part of issue project-chip#13876 (fabric removal and factory reset)
Use the "public" API to delete entries for a fabric. Tested (on Linux using chip-all-clusters-app and chip-tool) by commissioning on three fabrics, with 3, 2, and 2 distinct ACLs, then removing the second (middle) fabric, and verifying that the remaining 5 ACLs are preserved, even after restart. Part of issue #13876 (fabric removal and factory reset)
Turns out factory data reset isn't really a spec-compliant feature, so handling fabric removal is all that's necessary for now. |
What's in master branch (PR #16685) is working correctly, but overzealous with persistence. We already have an issue to improve persistence (#14451) so this issue can be closed as the feature is working, and remove fabric is a rare procedure so overzealous persistence is not necessarily an issue anyways. |
Use the "public" API to delete entries for a fabric. Tested (on Linux using chip-all-clusters-app and chip-tool) by commissioning on three fabrics, with 3, 2, and 2 distinct ACLs, then removing the second (middle) fabric, and verifying that the remaining 5 ACLs are preserved, even after restart. Part of issue project-chip#13876 (fabric removal and factory reset)
Use the "public" API to delete entries for a fabric. Tested (on Linux using chip-all-clusters-app and chip-tool) by commissioning on three fabrics, with 3, 2, and 2 distinct ACLs, then removing the second (middle) fabric, and verifying that the remaining 5 ACLs are preserved, even after restart. Part of issue project-chip#13876 (fabric removal and factory reset)
When we have a framework for fabric removal and factory reset, need to handle that.
E.g. fabric 3 removed (but not 1, 2, or 4) --> need to remove ACL entries for fabric 3 only.
Also tests.
The text was updated successfully, but these errors were encountered: