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

Remove mail permissions, add mailbox setting permission #222

Merged
merged 3 commits into from
Sep 7, 2021

Conversation

mickmister
Copy link
Contributor

Summary

This PR removes the request for Mail.Read and Mail.Send permissions since the plugin never reads or sends mail. I believe this was a preemptive decision to include these permissions in case we would need to read mail in the future, but currently yagni.

We haven't documented the need for this permission because the plugin doesn't need it, and I'm not sure how installations have worked without having that granted, since the user connect process should have been blocked by Microsoft.

This also adds the request for MailboxSettings.Read since that is required to get the user's timezone information.

Ticket Link

Fixes #221

@mickmister mickmister added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Jul 7, 2021
@codecov-commenter
Copy link

codecov-commenter commented Jul 7, 2021

Codecov Report

Merging #222 (ea031fd) into master (11e1777) will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #222   +/-   ##
=======================================
  Coverage   23.75%   23.76%           
=======================================
  Files          64       64           
  Lines        2627     2626    -1     
=======================================
  Hits          624      624           
+ Misses       1920     1919    -1     
  Partials       83       83           
Impacted Files Coverage Δ
server/remote/msgraph/remote.go 4.65% <0.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 11e1777...ea031fd. Read the comment docs.

@hanzei
Copy link
Collaborator

hanzei commented Jul 8, 2021

@mickmister Heads up that you need to fix the tests.

@hanzei hanzei modified the milestones: v1.2.0, v1.1.0 Jul 8, 2021
Copy link
Contributor

@jfrerich jfrerich left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jfrerich jfrerich removed the 2: Dev Review Requires review by a core committer label Aug 19, 2021
Copy link

@DHaussermann DHaussermann left a comment

Choose a reason for hiding this comment

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

This change should not have any impact. The setup should work the same with the existing instruction set.

This will be covered in v1.1.0 release testing.
@mickmister please merge.

@mickmister mickmister added 4: Reviews Complete All reviewers have approved the pull request and removed 3: QA Review Requires review by a QA tester labels Sep 7, 2021
@mickmister mickmister merged commit 2d610f7 into master Sep 7, 2021
@mickmister mickmister deleted the delegated-permissions branch September 7, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin requests Mail.Read and Mail.Send permissions but does not use them
6 participants