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

Metadata permission #11408

Merged
merged 4 commits into from
Feb 9, 2023
Merged

Conversation

remibettan
Copy link
Contributor

Tracked by: LRS-663

@remibettan remibettan requested a review from Nir-Az February 7, 2023 12:29
@@ -229,7 +231,10 @@ namespace rs2
CloseHandle(sei.hProcess);
if (exitCode)
throw std::runtime_error("Failed to set metadata registry keys!");
return true;
// returning false here so that the instandce that runs "not as admin"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instance?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo corrected

// returning false here so that the instandce that runs "not as admin"
// will not even try to do the writing to registry job
// This job is done by the "run as admin" instance.
return false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have an if and an else both returning false?
and more code after? return true?
Take another look please..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, this is correct.
Let's talk about it.

@remibettan remibettan requested a review from Nir-Az February 9, 2023 09:27
@Nir-Az
Copy link
Collaborator

Nir-Az commented Feb 9, 2023

Looks great, I retriggered the CI, once we see a green light I will approve :)

Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az Nir-Az merged commit 08a4d03 into IntelRealSense:development Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants