-
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
Refactor ACL persistent storage and events #17357
Refactor ACL persistent storage and events #17357
Conversation
Refactor ACL persistent storage so it's in the server layer between the system layer (below it) and the cluster layer (above it). Refactor events using a new listener. Slightly reorder server layer initialization (e.g. access control system layer should initialize before cluster layer). Issue project-chip#14451 (and more)
PR #17357: Size comparison from 11c49af to 3c71264 Increases above 0.2%:
Increases (28 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
Decreases (24 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, nrfconnect, telink)
Full report (32 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
@tcarmelveilleux requests: I will change it so we inject the persistent storage into AclStorage, and update docs. |
PersistentStorageDelegate and FabricTable are injected now.
Mostly clarifying docs, removing a few unused functions that were missed, etc.
PR #17357: Size comparison from cfc3595 to 022b830 Increases above 0.2%:
Increases (23 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, p6, telink)
Decreases (14 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, telink)
Full report (23 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, p6, telink)
|
PR #17357: Size comparison from 2826b34 to a97024d Increases above 0.2%:
Increases (23 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, p6, telink)
Decreases (14 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, nrfconnect, telink)
Full report (23 builds for cc13x2_26x2, cyw30739, efr32, esp32, linux, mbed, nrfconnect, p6, telink)
|
PR #17357: Size comparison from 18ce67c to e051690 Increases above 0.2%:
Increases (25 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
Decreases (16 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, telink)
Full report (25 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
Confirm that this work is done now. |
PLEASE NOTE I would like the following commit message used when this is squashed and merged
Other notes:
Commit Message
Refactor ACL persistent storage and events
After these changes, the breakdown of responsibilities is as follows:
Details:
Fixes #14451 --> Improve access control cluster persistence/storage
Fixes #14443 --> Clean up access control cluster/module initialization
Fixes #14326 --> Handle access control events from non-cluster operations
Partially addresses #14455 --> Clean up access control capabilities APIs
Partially addresses #14450 --> Access control performance improvement (flash, RAM, speed, etc.)
Testing