Merge pull request #1788 from AriGunawan/hotfix/add_missing_permission

This commit is contained in:
Hugo Bernier 2021-04-04 22:31:17 -04:00 committed by GitHub
commit c1f302c00f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 5 deletions

View File

@ -43,6 +43,7 @@ This web part shows the current user's colleagues, and allows the user to search
Solution|Author(s) Solution|Author(s)
--------|--------- --------|---------
react-staffdirectory|Ari Gunawan ([@arigunawan3023](https://twitter.com/arigunawan3023))
react-staffdirectory|João Mendes ([joaojmendes](https://github.com/joaojmendes)) react-staffdirectory|João Mendes ([joaojmendes](https://github.com/joaojmendes))
@ -51,6 +52,7 @@ react-staffdirectory|João Mendes ([joaojmendes](https://github.com/joaojmendes)
Version|Date|Comments Version|Date|Comments
-------|----|-------- -------|----|--------
1.0.0|February 16, 2021|Initial release 1.0.0|February 16, 2021|Initial release
1.0.1|March 28, 2021|Added missing Graph API Permission (User.Read.All) for getting users information
## Disclaimer ## Disclaimer
@ -69,7 +71,7 @@ Please follow all the steps:
- `gulp bundle --ship` - `gulp bundle --ship`
- `gulp package-solution --ship` - `gulp package-solution --ship`
- Add and deploy package to your tenant's App Catalog - Add and deploy package to your tenant's App Catalog
- Go to **API Access** - from **SharePoint Admin Center** new experience, and **Approve** the permission to use Microsoft Graph scope **Presence.Read.All** - Go to **API Access** - from **SharePoint Admin Center** new experience, and **Approve** the permission to use Microsoft Graph scopes **Presence.Read.All** and **User.Read.All**
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/staffdirectory" /> <img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-staffdirectory" />

View File

@ -9,7 +9,7 @@
"This web part shows the current user\u0027s colleagues, and allows the user to search AD directory, The user can configure the properties to show when expand the user card." "This web part shows the current user\u0027s colleagues, and allows the user to search AD directory, The user can configure the properties to show when expand the user card."
], ],
"created": "2021-03-09", "created": "2021-03-09",
"modified": "2021-03-09", "modified": "2021-03-28",
"products": [ "products": [
"SharePoint", "SharePoint",
"Office" "Office"
@ -63,6 +63,11 @@
"pictureUrl": "https://github.com/joaojmendes.png", "pictureUrl": "https://github.com/joaojmendes.png",
"name": "Jo\u00E3o Mendes", "name": "Jo\u00E3o Mendes",
"twitter": "joaojmendes" "twitter": "joaojmendes"
},
{
"gitHubAccount": "AriGunawan",
"pictureUrl": "https://github.com/AriGunawan.png",
"name": "Ari Gunawan"
} }
], ],
"references": [ "references": [

View File

@ -3,7 +3,7 @@
"solution": { "solution": {
"name": "staff-directory-client-side-solution", "name": "staff-directory-client-side-solution",
"id": "89d7389c-be48-41e9-9f72-5eb9a1099c1f", "id": "89d7389c-be48-41e9-9f72-5eb9a1099c1f",
"version": "1.0.0.0", "version": "1.0.1.0",
"includeClientSideAssets": true, "includeClientSideAssets": true,
"skipFeatureDeployment": true, "skipFeatureDeployment": true,
"isDomainIsolated": false, "isDomainIsolated": false,
@ -11,6 +11,10 @@
{ {
"resource": "Microsoft Graph", "resource": "Microsoft Graph",
"scope": "Presence.Read.All" "scope": "Presence.Read.All"
},
{
"resource": "Microsoft Graph",
"scope": "User.Read.All"
} }
], ],
"developer": { "developer": {