Skip to content
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 clean up #14449

Closed
mlepage-google opened this issue Jan 27, 2022 · 0 comments
Closed

Access control clean up #14449

mlepage-google opened this issue Jan 27, 2022 · 0 comments
Assignees
Labels
acl Access Control feature V1.0

Comments

@mlepage-google
Copy link
Contributor

Access control was developed with an eye toward delivering features, and needs an opportunity to perform some clean up refactoring if necessary.

@mlepage-google mlepage-google added acl Access Control feature V1.0 labels Jan 27, 2022
@mlepage-google mlepage-google changed the title Clean up access control Access control clean up Jan 27, 2022
@andy31415 andy31415 added v1_triage_split_11 V1.0 acl Access Control feature and removed V1.0 acl Access Control feature labels Jan 30, 2022
@mlepage-google mlepage-google self-assigned this Jan 31, 2022
tcarmelveilleux added a commit to tcarmelveilleux/connectedhomeip that referenced this issue Apr 13, 2022
- When bringing-up an AccessControl::Delegate, extra policy
  verbose logging is helpful. However, extra verbose logging
  is currently always enabled, which takes a lot of logging buffer
  space when complex transactions (long paths, wildcards) are used,
  to just emit debug data.
- Current method to turn it down is to turn off all progress logging,
  but progress logging may have a lot of important details.

This PR introduces a logging verbosity control for Access Control,
using the `chip_access_control_policy_logging_verbosity` build
config variable.

High verbosity is maintained in linux/Darwin *-app, but turned
down by default elsewhere.

Issue project-chip#14449

Testing done:
- unit tests still pass
- integration tests still pass
- logs are less on m5stack
- logs are fully verbose on linux
bzbarsky-apple pushed a commit that referenced this issue Apr 14, 2022
* Introduce ACL logging verbosity control

- When bringing-up an AccessControl::Delegate, extra policy
  verbose logging is helpful. However, extra verbose logging
  is currently always enabled, which takes a lot of logging buffer
  space when complex transactions (long paths, wildcards) are used,
  to just emit debug data.
- Current method to turn it down is to turn off all progress logging,
  but progress logging may have a lot of important details.

This PR introduces a logging verbosity control for Access Control,
using the `chip_access_control_policy_logging_verbosity` build
config variable.

High verbosity is maintained in linux/Darwin *-app, but turned
down by default elsewhere.

Issue #14449

Testing done:
- unit tests still pass
- integration tests still pass
- logs are less on m5stack
- logs are fully verbose on linux

* Restyled by clang-format

* Restyled by gn

* Fix CI

Co-authored-by: Restyled.io <[email protected]>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this issue Apr 14, 2022
* Introduce ACL logging verbosity control

- When bringing-up an AccessControl::Delegate, extra policy
  verbose logging is helpful. However, extra verbose logging
  is currently always enabled, which takes a lot of logging buffer
  space when complex transactions (long paths, wildcards) are used,
  to just emit debug data.
- Current method to turn it down is to turn off all progress logging,
  but progress logging may have a lot of important details.

This PR introduces a logging verbosity control for Access Control,
using the `chip_access_control_policy_logging_verbosity` build
config variable.

High verbosity is maintained in linux/Darwin *-app, but turned
down by default elsewhere.

Issue project-chip#14449

Testing done:
- unit tests still pass
- integration tests still pass
- logs are less on m5stack
- logs are fully verbose on linux

* Restyled by clang-format

* Restyled by gn

* Fix CI

Co-authored-by: Restyled.io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acl Access Control feature V1.0
Projects
None yet
Development

No branches or pull requests

3 participants