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

Changes around Classification and Sensitivity Labels #2036

Merged
merged 13 commits into from
Jun 30, 2022

Conversation

KoenZomers
Copy link
Collaborator

@KoenZomers KoenZomers commented Jun 26, 2022

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Went through the entire situation around Site Classification and Sensitivity Labels and rewrote it.

@KoenZomers KoenZomers marked this pull request as draft June 26, 2022 07:55
@KoenZomers KoenZomers marked this pull request as ready for review June 27, 2022 02:10
@gautamdsheth
Copy link
Collaborator

@KoenZomers - Some of these cmdlets are missing [RequiredMinimalApiPermissions("InformationProtectionPolicy.Read.All")], is it by design ??

@KoenZomers
Copy link
Collaborator Author

@gautamdsheth Yes. Mainly because of how this has been developed within PnP. As we may execute these cmdlets using a delegate and an app only token, it would require different permissions for either of them. If we specify that attribute, it will error out if we use the other one since it will be missing from the scp in our access token. We would need something where we can specify if it works for delegate tokens and app only tokens. Fairly easy to implement and I believe it was like this originally but at one point Erwin decided to simplify the permissions leaving just this.

@gautamdsheth gautamdsheth merged commit ea951bb into pnp:dev Jun 30, 2022
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