-
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
Access control module hookup #10581
Access control module hookup #10581
Conversation
until we have an actual implementation, allow accessconnectedhomeip/src/access/AccessControl.cpp Lines 61 to 71 in 014ac99
This comment was generated by todo based on a
|
check CATs (subject1, subject2)connectedhomeip/src/access/AccessControl.cpp Lines 76 to 86 in 014ac99
This comment was generated by todo based on a
|
these basic types need to come from a lower layerconnectedhomeip/src/access/BasicTypes.h Lines 31 to 41 in 014ac99
This comment was generated by todo based on a
|
provide iteratorconnectedhomeip/src/access/DataProviderImpl.cpp Lines 40 to 50 in 014ac99
This comment was generated by todo based on a
|
provide iteratorconnectedhomeip/src/access/DataProviderImpl.cpp Lines 46 to 51 in 014ac99
This comment was generated by todo based on a
|
don't worry about node for now (proxy source)connectedhomeip/src/access/RequestPath.h Lines 38 to 44 in 014ac99
This comment was generated by todo based on a
|
make this table driven, add a bunch more test casesconnectedhomeip/src/access/tests/TestAccessControl.cpp Lines 353 to 363 in 014ac99
This comment was generated by todo based on a
|
get required privilege from yet-to-be-written ember apiconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 241 to 251 in 014ac99
This comment was generated by todo based on a
|
In some cases (wildcards) we'll want to just discard request pathconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 258 to 268 in 014ac99
This comment was generated by todo based on a
|
filter fabric sensitive data if fabric doesn't matchconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 269 to 273 in 014ac99
This comment was generated by todo based on a
|
get required privilege from yet-to-be-written ember apiconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 480 to 490 in 014ac99
This comment was generated by todo based on a
|
better mapping of chip error to IM statusconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 501 to 511 in 014ac99
This comment was generated by todo based on a
|
don't write fabric scoped data if fabric doesn't matchconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 508 to 517 in 014ac99
This comment was generated by todo based on a
|
these are just placeholder values for now, need to get appropriateconnectedhomeip/src/messaging/ExchangeContext.h Lines 164 to 174 in 014ac99
This comment was generated by todo based on a
|
PR #10581: Size comparison from efc17de to 014ac99 Increases above 1.0% from efc17de to 014ac99:
22 builds
12 builds
|
Size increase report for "nrfconnect-example-build" from efc17de
Full report output
|
don't worry about node for now (proxy source)connectedhomeip/src/access/RequestPath.h Lines 33 to 39 in 25ccc69
This comment was generated by todo based on a
|
In some cases (wildcards) we'll want to just discard request pathconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 258 to 268 in 25ccc69
This comment was generated by todo based on a
|
filter fabric sensitive data if fabric doesn't matchconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 269 to 273 in 25ccc69
This comment was generated by todo based on a
|
don't write fabric scoped data if fabric doesn't matchconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 508 to 517 in 25ccc69
This comment was generated by todo based on a
|
Size increase report for "esp32-example-build" from efc17de
Full report output
|
PR #10581: Size comparison from efc17de to 25ccc69 5 builds
Increases above 1.0% from efc17de to 25ccc69:
17 builds
|
don't worry about node for now (proxy source)connectedhomeip/src/access/RequestPath.h Lines 33 to 39 in 30556bf
This comment was generated by todo based on a
|
In some cases (wildcards) we'll want to just discard request pathconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 258 to 268 in 30556bf
This comment was generated by todo based on a
|
filter fabric sensitive data if fabric doesn't matchconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 269 to 273 in 30556bf
This comment was generated by todo based on a
|
don't write fabric scoped data if fabric doesn't matchconnectedhomeip/src/app/util/ember-compatibility-functions.cpp Lines 508 to 517 in 30556bf
This comment was generated by todo based on a
|
PR #10581: Size comparison from efc17de to 30556bf 2 builds
Increases above 1.0% from efc17de to 30556bf:
14 builds
6 builds
|
@@ -110,6 +110,10 @@ CHIP_ERROR WriteHandler::SendWriteResponse() | |||
CHIP_ERROR WriteHandler::ProcessAttributeDataIBs(TLV::TLVReader & aAttributeDataIBsReader) | |||
{ | |||
CHIP_ERROR err = CHIP_NO_ERROR; | |||
|
|||
// TODO: does exchange context always have session handle? what if it doesn't? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's hard to imagine how this could happen. But I think if it does, it means we just have to disallow everything.
If in the future we decide to store some of the subject descriptor information in the underlying secure session instead of the session handle, we'll have to make similar choices if we encounter a dangling session handle for which the underlying session has been evicted.
That also seems unlikely, but would probably still need some handling in the code.
This PR will have conflicts now because I already started breaking it into smaller ones. I'll probably have to turn it back into a draft, but I want to see how the builds pass/fail first. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Add initial prototype hookup of AccessControl