Skip to content

Unify device verification logic under lib/devicetrust/authz#62523

Merged
codingllama merged 4 commits intomasterfrom
codingllama/verify-device-dupe
Dec 30, 2025
Merged

Unify device verification logic under lib/devicetrust/authz#62523
codingllama merged 4 commits intomasterfrom
codingllama/verify-device-dupe

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Unifies duplicate device authz logic under lib/services/role.go by reusing a newly-exposed function under lib/devicetrust/authz.

This is a noop in terms of behavior, but an improvement in terms of maintenance.

@codingllama codingllama added the no-changelog Indicates that a PR does not require a changelog entry label Dec 29, 2025
@github-actions github-actions bot requested review from bl-nero and r0mant December 29, 2025 19:30
@codingllama
Copy link
Copy Markdown
Contributor Author

@zmb3 @21KennethTran, I noticed the dupe logic while reviewing #62019, so here it is. Feel free to review it.

Comment thread lib/devicetrust/authz/authz.go Outdated
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from r0mant December 30, 2025 11:52
@codingllama
Copy link
Copy Markdown
Contributor Author

Thanks for the quick review!

@codingllama codingllama added this pull request to the merge queue Dec 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 30, 2025
@codingllama codingllama added this pull request to the merge queue Dec 30, 2025
Merged via the queue into master with commit 6e5e2b5 Dec 30, 2025
42 of 43 checks passed
@codingllama codingllama deleted the codingllama/verify-device-dupe branch December 30, 2025 14:32
21KennethTran pushed a commit that referenced this pull request Jan 6, 2026
* Unify device verification logic under lib/devicetrust/authz

* Refactor verifyDeviceExtensions, nits

* Disallow unknown modes

* Reword comment
codingllama added a commit that referenced this pull request Jan 26, 2026
* Unify device verification logic under lib/devicetrust/authz

* Refactor verifyDeviceExtensions, nits

* Disallow unknown modes

* Reword comment
github-merge-queue bot pushed a commit that referenced this pull request Jan 27, 2026
…63155)

* Unify device verification logic under lib/devicetrust/authz

* Refactor verifyDeviceExtensions, nits

* Disallow unknown modes

* Reword comment
codingllama added a commit that referenced this pull request Jan 29, 2026
* Unify device verification logic under lib/devicetrust/authz

* Refactor verifyDeviceExtensions, nits

* Disallow unknown modes

* Reword comment
github-merge-queue bot pushed a commit that referenced this pull request Jan 30, 2026
…63290)

* Unify device verification logic under lib/devicetrust/authz

* Refactor verifyDeviceExtensions, nits

* Disallow unknown modes

* Reword comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants