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

[25.x] [Copilot] Backport privacy check support #2680

Merged
merged 7 commits into from
Jan 8, 2025

Conversation

msft-sam
Copy link
Contributor

@msft-sam msft-sam commented Jan 8, 2025

Summary

Backport the support to check privacy notices for Copilot capabilities.
Start the geo expansion of chat.

Work Item(s)

Fixes AB#502565

edwardUL99 and others added 7 commits January 3, 2025 10:37
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Quick outline of new learn api requirements form Ayrton and Jacob:
1. Implement a privacy notice which is “enabled” by default for the
learn integration.
2. Implement an experience for when the privacy notice is declined by
either an admin or individual user. This involves showing a UI component
on the help pane notifying the user that the experience may be limited.
a. If admin, the text will have a link for them to open the privacy
notices page to enable it
b. If user and the notice is not yet set by them or an admin, the text
will have a link to open the wizard for approval
c. If user and the notice is disabled by admin, the card will simply
tell them to reach out to an administrator
For on-prem, this isn’t supported, so no privacy notice or search box
necessary.

To implement 2, the current Privacy notice table does not allow us to
differentiate if it is enabled by default. It simply calculates if it is
approved/disabled for all users or the user decides. So I am adding a
new way to allow an integration to be approved by default if not created yet or on creation.


#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#556896](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/556896)

---------

Co-authored-by: Eddy Lynch <eddylynch@microsoft.com>
In addition to using AOAI, Copilot capabilities may need to integrate
with other services that depend on a privacy notice.
This PR adds a new event capabilities can subscribe to which provide a
list of required privacy notices that must be accepted before the
capability can be enabled.

Fixes
[AB#502565](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/502565)
@msft-sam msft-sam requested review from a team as code owners January 8, 2025 09:09
@github-actions github-actions bot added this to the Version 25.3 milestone Jan 8, 2025
@darjoo darjoo merged commit de3d313 into releases/25.x Jan 8, 2025
25 checks passed
@darjoo darjoo deleted the private/msft-sam/copilot-privacy-25x branch January 8, 2025 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants