diff --git a/permissions/permissions-descriptions.json b/permissions/permissions-descriptions.json index 2f5702eb..cadd2250 100644 --- a/permissions/permissions-descriptions.json +++ b/permissions/permissions-descriptions.json @@ -2,7 +2,7 @@ "delegatedScopesList": [ { "adminConsentDescription": "Allows the app to read and write passkey authentication methods of all users in your organization that the signed-in user has access to. This does not allow the app to see secret information like passwords, or to sign-in or otherwise use the authentication methods.", - "adminConsentDisplayName": "Read and write all users' passkey methods.", + "adminConsentDisplayName": "Read and write all users' passkey methods", "consentDescription": "Allows the app to read and write passkey authentication methods of all users you have access to in your organization. This does not allow the app to see secret information like passwords, or to sign-in or otherwise use the authentication methods.", "consentDisplayName": "Read and write all users' passkey authentication methods", "id": "64930478-d0ea-4671-ad72-fe0d9821df09", @@ -62,9 +62,9 @@ }, { "adminConsentDescription": "Allow the app to read or write/update the policy assignment and unassigment for Teams users for all policy type categories.", - "adminConsentDisplayName": "Read and Write Teams policy user assignment and unassigment for all policy types.", + "adminConsentDisplayName": "Read and Write Teams policy user assignment and unassigment for all policy types", "consentDescription": "Allow the app to read or write/update the policy assignment and unassigment for Teams users for all policy type categories.", - "consentDisplayName": "Read and Write Teams policy user assignment and unassigment for all policy types.", + "consentDisplayName": "Read and Write Teams policy user assignment and unassigment for all policy types", "id": "6997c35c-a586-440c-8a0b-4ffe5d118dc0", "isAdmin": true, "isEnabled": true, @@ -292,9 +292,9 @@ }, { "adminConsentDescription": "Allows the app to read all AI Insights for online meetings, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read all AI Insights for online meetings. ", + "adminConsentDisplayName": "Read all AI Insights for online meetings", "consentDescription": "Allows the app to read all AI Insights for online meetings, on your behalf.", - "consentDisplayName": "Read all AI Insights for online meetings.", + "consentDisplayName": "Read all AI Insights for online meetings", "id": "166741d6-eeb8-46fe-91f4-817d2af7bc88", "isAdmin": true, "isEnabled": true, @@ -302,9 +302,9 @@ }, { "adminConsentDescription": "Allows the app to the and write all device authentication certificate configurations on behalf of the signed-in user.", - "adminConsentDisplayName": "Read and write all device authentication certificate configurations.", + "adminConsentDisplayName": "Read and write all device authentication certificate configurations", "consentDescription": "Allows the app to read and write all device authentication certificate configurations on your behalf.", - "consentDisplayName": "Read and write all device authentication certificate configurations.", + "consentDisplayName": "Read and write all device authentication certificate configurations", "id": "a51115bc-f64f-498f-bcee-00dcd28f4a03", "isAdmin": true, "isEnabled": true, @@ -312,9 +312,9 @@ }, { "adminConsentDescription": "Allows the app to read all device authentication certificate configurations on behalf of the signed-in user.", - "adminConsentDisplayName": "Read all device authentication certificate configurations.", + "adminConsentDisplayName": "Read all device authentication certificate configurations", "consentDescription": "Allows the app to read all device authentication certificate configurations on your behalf.", - "consentDisplayName": "Read all device authentication certificate configurations.", + "consentDisplayName": "Read all device authentication certificate configurations", "id": "51ae584e-e736-4718-897b-10af70f8e3cc", "isAdmin": true, "isEnabled": true, @@ -372,9 +372,9 @@ }, { "adminConsentDescription": "Allows the app to read and write all device templates, their owners, and devices created from those device templates on behalf of the signed-in user.", - "adminConsentDisplayName": "Read and write all device templates, their owners, and devices created from those device templates.", + "adminConsentDisplayName": "Read and write all device templates, their owners, and devices created from those device templates", "consentDescription": "Allows the app to read and write all your device templates, their owners, and devices created from those device templates, on your behalf.", - "consentDisplayName": "Read and write all device templates, their owners, and devices created from those device templates.", + "consentDisplayName": "Read and write all device templates, their owners, and devices created from those device templates", "id": "2d372e98-f1ae-406c-a157-2ea83f6f5e4a", "isAdmin": true, "isEnabled": true, @@ -382,9 +382,9 @@ }, { "adminConsentDescription": "Allows the app to read device templates, their owners, and devices created from those device templates on behalf of the signed-in user.", - "adminConsentDisplayName": "Read all device templates, their owners, and devices created from those device templates.", + "adminConsentDisplayName": "Read all device templates, their owners, and devices created from those device templates", "consentDescription": "Allows the app to read device templates, their owners, and devices created from those device templates, on your behalf.", - "consentDisplayName": "Read all device templates, their owners, and devices created from those device templates.", + "consentDisplayName": "Read all device templates, their owners, and devices created from those device templates", "id": "2bcae0b0-aa93-48e4-a9e4-855482dffdcd", "isAdmin": true, "isEnabled": true, @@ -412,9 +412,9 @@ }, { "adminConsentDescription": "Allows the app to create a device from a device template owned by the signed-in user.", - "adminConsentDisplayName": "Create a device from a device template owned by the signed-in user.", + "adminConsentDisplayName": "Create a device from a device template owned by the signed-in user", "consentDescription": "Allows the app to create a device from a device template you own.", - "consentDisplayName": "Create a device from a device template you own.", + "consentDisplayName": "Create a device from a device template you own", "id": "edc92e89-a987-48a9-911a-a7b1967dd7b1", "isAdmin": true, "isEnabled": true, @@ -512,9 +512,9 @@ }, { "adminConsentDescription": "Allows the app to create approvals on behalf of the signed-in user, cancel approvals created by the user and read any of the user's approvals (created by the user or assigned to the user).", - "adminConsentDisplayName": "Respond to a user's approval. Read user's approval items, requests, responses.", + "adminConsentDisplayName": "Respond to a user's approval. Read user's approval items, requests, responses", "consentDescription": "Allows you to create approvals, cancel approvals created by you and read any of your approvals (created by you or assigned to you).", - "consentDisplayName": "Respond to a user's approval. Read user's approval items, requests, responses.", + "consentDisplayName": "Respond to a user's approval. Read user's approval items, requests, responses", "id": "89d944f2-2011-44ad-830c-aa9bf5ef2319", "isAdmin": false, "isEnabled": true, @@ -522,9 +522,9 @@ }, { "adminConsentDescription": "Allows the app to create approvals on behalf of the signed-in user, cancel approvals created by the user and read any of the user's approvals (created by the user or assigned to the user).", - "adminConsentDisplayName": "Create and cancel user's approval items. Read user's approval items, requests, responses.", + "adminConsentDisplayName": "Create and cancel user's approval items. Read user's approval items, requests, responses", "consentDescription": "Allows you to create approvals, cancel approvals created by you and read any of your approvals (created by you or assigned to you).", - "consentDisplayName": "Create and cancel your approval items. Read user's approval items, requests, responses.", + "consentDisplayName": "Create and cancel your approval items. Read user's approval items, requests, responses", "id": "6768d3af-4562-48ff-82d2-c5e19eb21b9c", "isAdmin": false, "isEnabled": true, @@ -532,9 +532,9 @@ }, { "adminConsentDescription": "Allows the app to read the signed-in user's approval items, approval requests and approval responses (created by the user or assigned to the user). Doesn't include permission to create, cancel, or update anything.", - "adminConsentDisplayName": "Read user's approval items, approval requests and approval responses.", + "adminConsentDisplayName": "Read user's approval items, approval requests and approval responses", "consentDescription": "Allows the app to read your approval items, approval requests and approval responses (created by you or assigned to you). Doesn't include permission to create, cancel, or update anything.", - "consentDisplayName": "Read your approval items, approval requests and approval responses ", + "consentDisplayName": "Read your approval items, approval requests and approval responses", "id": "b0df437d-d341-4df0-aa3e-89ca81a1207f", "isAdmin": false, "isEnabled": true, @@ -542,9 +542,9 @@ }, { "adminConsentDescription": "Allows the app to read user AI enterprise interactions, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read user AI enterprise interactions.", + "adminConsentDisplayName": "Read user AI enterprise interactions", "consentDescription": "Allows an app to read your AI enterprise interactions, on your behalf.", - "consentDisplayName": "Read your AI enterprise interactions.", + "consentDisplayName": "Read your AI enterprise interactions", "id": "859cceb9-2ec2-4e48-bcd7-b8490b5248a5", "isAdmin": false, "isEnabled": true, @@ -662,7 +662,7 @@ }, { "adminConsentDescription": "Allows the app to read and write all scenario monitoring alert configurations, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read and write all scenario monitoring alert configurations.", + "adminConsentDisplayName": "Read and write all scenario monitoring alert configurations", "consentDescription": "Allows the app to read and write all scenario monitoring alert configurations, on your behalf.", "consentDisplayName": "Read and write all scenario monitoring alert configurations", "id": "b3e5ebc6-1c23-4337-8286-3f27165addb4", @@ -682,7 +682,7 @@ }, { "adminConsentDescription": "Allows the app to read and write all scenario monitoring alerts, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read and write all scenario monitoring alerts.", + "adminConsentDisplayName": "Read and write all scenario monitoring alerts", "consentDescription": "Allows the app to read and write all scenario monitoring alerts, on your behalf.", "consentDisplayName": "Read and write all scenario monitoring alerts", "id": "b7c60f27-2195-4d5f-96a7-6b98bdfd9664", @@ -942,9 +942,9 @@ }, { "adminConsentDescription": "Allows the app to read/write schedule permissions for a specific role in Shifts application on behalf of the signed-in user.", - "adminConsentDisplayName": "Read/Write schedule permissions for a role.", + "adminConsentDisplayName": "Read/Write schedule permissions for a role", "consentDescription": "Allows the app to read/write schedule permissions for a specific role in Shifts application on behalf of the signed-in user.", - "consentDisplayName": "Read/Write your schedule permissions for a role.", + "consentDisplayName": "Read/Write your schedule permissions for a role", "id": "07919803-6073-4cd8-bc55-28077db0ee10", "isAdmin": true, "isEnabled": true, @@ -1164,7 +1164,7 @@ "adminConsentDescription": "Allows the app to read the teamwork settings of the signed-in user.", "adminConsentDisplayName": "Read user teamwork settings", "consentDescription": "Allows the app to read your teamwork settings, on your behalf.", - "consentDisplayName": "Read your teamwork settings.", + "consentDisplayName": "Read your teamwork settings", "id": "834bcc1c-762f-41b0-bb91-1cdc323ee4bf", "isAdmin": true, "isEnabled": true, @@ -1184,7 +1184,7 @@ "adminConsentDescription": "Allows the app to read all of billing data from Microsoft for your company's tenant, on behalf of the signed-in user. This includes reading billed and unbilled Usage and Invoice reconciliation data.", "adminConsentDisplayName": "Read all billing data for your company's tenant", "consentDescription": "Allows the app to read all of billing data from Microsoft for your company's tenant that you have access to. This includes reading billed and unbilled Usage and Invoice reconciliation data.", - "consentDisplayName": "Allows the app to read billing data you have access to.", + "consentDisplayName": "Allows the app to read billing data you have access to", "id": "8804798e-5934-4e30-8ce3-ef88257cecd4", "isAdmin": true, "isEnabled": true, @@ -1402,9 +1402,9 @@ }, { "adminConsentDescription": "Allows the app to read and write your organization’s identity protection policy on behalf of the signed-in user.", - "adminConsentDisplayName": "Read and write your organization’s identity protection policy ", + "adminConsentDisplayName": "Read and write your organization’s identity protection policy", "consentDescription": "Allows the app to read and write your organization’s identity protection policy on your behalf.", - "consentDisplayName": "Read and write your organization’s identity protection policy.", + "consentDisplayName": "Read and write your organization’s identity protection policy", "id": "7256e131-3efb-4323-9854-cf41c6021770", "isAdmin": true, "isEnabled": true, @@ -2072,7 +2072,7 @@ }, { "adminConsentDescription": "Allows an application to read and write virtual appointments for the signed-in user. Only an organizer or participant user can read and write their virtual appointments. ", - "adminConsentDisplayName": "Read and write a user's virtual appointments  ", + "adminConsentDisplayName": "Read and write a user's virtual appointments", "consentDescription": "Allows the app to read and write virtual appointments on your behalf.  ", "consentDisplayName": "Read and write your virtual appointments", "id": "2ccc2926-a528-4b17-b8bb-860eed29d64c", @@ -2222,9 +2222,9 @@ }, { "adminConsentDescription": "Allows an app to read all question and answer sets that the signed-in user can access.", - "adminConsentDisplayName": "Read all Questions and Answers that the user can access.", + "adminConsentDisplayName": "Read all Questions and Answers that the user can access", "consentDescription": "Allows the app to read all question and answer sets that you can access.", - "consentDisplayName": "Read all Questions and Answers that you can access.", + "consentDisplayName": "Read all Questions and Answers that you can access", "id": "f73fa04f-b9a5-4df9-8843-993ce928925e", "isAdmin": false, "isEnabled": true, @@ -2244,7 +2244,7 @@ "adminConsentDescription": "Allows an application to read virtual appointments for the signed-in user. Only an organizer or participant user can read their virtual appointments.  ", "adminConsentDisplayName": "Read a user's virtual appointments", "consentDescription": "Allows the app to read virtual appointments on your behalf.  ", - "consentDisplayName": "Read your virtual appointments ", + "consentDisplayName": "Read your virtual appointments", "id": "27470298-d3b8-4b9c-aad4-6334312a3eac", "isAdmin": true, "isEnabled": true, @@ -2602,9 +2602,9 @@ }, { "adminConsentDescription": "Allows the app to read all transcripts of online meetings, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read all transcripts of online meetings. ", + "adminConsentDisplayName": "Read all transcripts of online meetings", "consentDescription": "Allows the app to read all transcripts of online meetings, on your behalf.", - "consentDisplayName": "Read all transcripts of online meetings.", + "consentDisplayName": "Read all transcripts of online meetings", "id": "30b87d18-ebb1-45db-97f8-82ccb1f0190c", "isAdmin": true, "isEnabled": true, @@ -2612,9 +2612,9 @@ }, { "adminConsentDescription": "Allows an app to manage license assignments for users and groups, on behalf of the signed-in user.", - "adminConsentDisplayName": "Manage all license assignments.", + "adminConsentDisplayName": "Manage all license assignments", "consentDescription": "Allows the app to manage all license assignments, on your behalf.", - "consentDisplayName": "Manage all license assignments.", + "consentDisplayName": "Manage all license assignments", "id": "f55016cc-149c-447e-8f21-7cf3ec1d6350", "isAdmin": false, "isEnabled": true, @@ -2622,9 +2622,9 @@ }, { "adminConsentDescription": "Allows the app to read all recordings of online meetings, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read all recordings of online meetings. ", + "adminConsentDisplayName": "Read all recordings of online meetings", "consentDescription": "Allows the app to read all recordings of online meetings, on your behalf.", - "consentDisplayName": "Read all recordings of online meetings.", + "consentDisplayName": "Read all recordings of online meetings", "id": "190c2bb6-1fdd-4fec-9aa2-7d571b5e1fe3", "isAdmin": true, "isEnabled": true, @@ -3792,9 +3792,9 @@ }, { "adminConsentDescription": "Allows the application to create (register) printers on behalf of the signed-in user. ", - "adminConsentDisplayName": "Register printers  ", + "adminConsentDisplayName": "Register printers", "consentDescription": "Allows the application to create (register) printers on your behalf. ", - "consentDisplayName": "Register printers  ", + "consentDisplayName": "Register printers", "id": "90c30bed-6fd1-4279-bf39-714069619721", "isAdmin": true, "isEnabled": true, @@ -3834,7 +3834,7 @@ "adminConsentDescription": "Allows the app to read and write the authentication method policies, on behalf of the signed-in user. ", "adminConsentDisplayName": "Read and write authentication method policies", "consentDescription": "Allows the app to read and write the authentication method policies for your tenant, on your behalf.", - "consentDisplayName": "Read and write your authentication method policies ", + "consentDisplayName": "Read and write your authentication method policies", "id": "7e823077-d88e-468f-a337-e18f1f0e6c7c", "isAdmin": true, "isEnabled": true, @@ -4002,9 +4002,9 @@ }, { "adminConsentDescription": "Allows the app to read all webhook subscriptions on behalf of the signed-in user.", - "adminConsentDisplayName": "Read all webhook subscriptions ", + "adminConsentDisplayName": "Read all webhook subscriptions", "consentDescription": "Allows the app to read all webhook subscriptions on your behalf.", - "consentDisplayName": "Read all webhook subscriptions ", + "consentDisplayName": "Read all webhook subscriptions", "id": "5f88184c-80bb-4d52-9ff2-757288b2e9b7", "isAdmin": true, "isEnabled": true, @@ -4102,9 +4102,9 @@ }, { "adminConsentDescription": "Allows the app to read all domain properties on behalf of the signed-in user.", - "adminConsentDisplayName": "Read domains.", + "adminConsentDisplayName": "Read domains", "consentDescription": "Allows the app to read all domain properties on your behalf.", - "consentDisplayName": "Read domains.", + "consentDisplayName": "Read domains", "id": "2f9ee017-59c1-4f1d-9472-bd5529a7b311", "isAdmin": true, "isEnabled": true, @@ -4112,9 +4112,9 @@ }, { "adminConsentDescription": "Allows the app to be able to send emails from the user's mailbox using the SMTP AUTH client submission protocol.", - "adminConsentDisplayName": "Send emails from mailboxes using SMTP AUTH.", + "adminConsentDisplayName": "Send emails from mailboxes using SMTP AUTH", "consentDescription": "Allows the app to send emails on your behalf from your mailbox.", - "consentDisplayName": "Access to sending emails from your mailbox.", + "consentDisplayName": "Access to sending emails from your mailbox", "id": "258f6531-6087-4cc4-bb90-092c5fb3ed3f", "isAdmin": false, "isEnabled": true, @@ -4122,9 +4122,9 @@ }, { "adminConsentDescription": "Allows the app to have the same access to mailboxes as the signed-in user via POP protocol.", - "adminConsentDisplayName": "Read and write access to mailboxes via POP.", + "adminConsentDisplayName": "Read and write access to mailboxes via POP", "consentDescription": "Allows the app to read, update, create and delete email in your mailbox. Does not include permission to send mail.", - "consentDisplayName": "Read and write access to your mail.", + "consentDisplayName": "Read and write access to your mail", "id": "d7b7f2d9-0f45-4ea1-9d42-e50810c06991", "isAdmin": false, "isEnabled": true, @@ -4132,9 +4132,9 @@ }, { "adminConsentDescription": "Allows the app to have the same access to mailboxes as the signed-in user via IMAP protocol.", - "adminConsentDisplayName": "Read and write access to mailboxes via IMAP.", + "adminConsentDisplayName": "Read and write access to mailboxes via IMAP", "consentDescription": "Allows the app to read, update, create and delete email in your mailbox. Does not include permission to send mail.", - "consentDisplayName": "Read and write access to your mail.", + "consentDisplayName": "Read and write access to your mail", "id": "652390e4-393a-48de-9484-05f9b1212954", "isAdmin": false, "isEnabled": true, @@ -4142,9 +4142,9 @@ }, { "adminConsentDescription": "Read and write tabs in any team in Microsoft Teams, on behalf of the signed-in user. This does not give access to the content inside the tabs.", - "adminConsentDisplayName": "Read and write tabs in Microsoft Teams.", + "adminConsentDisplayName": "Read and write tabs in Microsoft Teams", "consentDescription": "Read and write tabs in any team in Microsoft Teams, on your behalf. This does not give access to the content inside the tabs.", - "consentDisplayName": "Read and write tabs in Microsoft Teams.", + "consentDisplayName": "Read and write tabs in Microsoft Teams", "id": "b98bfd41-87c6-45cc-b104-e2de4f0dafb9", "isAdmin": true, "isEnabled": true, @@ -4152,9 +4152,9 @@ }, { "adminConsentDescription": "Read the names and settings of tabs inside any team in Microsoft Teams, on behalf of the signed-in user. This does not give access to the content inside the tabs.", - "adminConsentDisplayName": "Read tabs in Microsoft Teams.", + "adminConsentDisplayName": "Read tabs in Microsoft Teams", "consentDescription": "Read the names and settings of tabs inside any team in Microsoft Teams, on your behalf. This does not give access to the content inside the tabs.", - "consentDisplayName": "Read tabs in Microsoft Teams.", + "consentDisplayName": "Read tabs in Microsoft Teams", "id": "59dacb05-e88d-4c13-a684-59f1afc8cc98", "isAdmin": true, "isEnabled": true, @@ -4162,9 +4162,9 @@ }, { "adminConsentDescription": "Allows the app to create tabs in any team in Microsoft Teams, on behalf of the signed-in user. This does not grant the ability to read, modify or delete tabs after they are created, or give access to the content inside the tabs.", - "adminConsentDisplayName": "Create tabs in Microsoft Teams.", + "adminConsentDisplayName": "Create tabs in Microsoft Teams", "consentDescription": "Allows the app to create tabs in any team in Microsoft Teams, on your behalf. This does not grant the ability to read, modify or delete tabs after they are created, or give access to the content inside the tabs.", - "consentDisplayName": "Create tabs in Microsoft Teams.", + "consentDisplayName": "Create tabs in Microsoft Teams", "id": "a9ff19c2-f369-4a95-9a25-ba9d460efc8e", "isAdmin": true, "isEnabled": true, @@ -4172,9 +4172,9 @@ }, { "adminConsentDescription": "Allows the app to read the signed-in user's authentication methods, including phone numbers and Authenticator app settings. This does not allow the app to see secret information like the signed-in user's passwords, or to sign-in or otherwise use the signed-in user's authentication methods.", - "adminConsentDisplayName": "Read user authentication methods.", + "adminConsentDisplayName": "Read user authentication methods", "consentDescription": "Allows the app to read your authentication methods, including phone numbers and Authenticator app settings. This does not allow the app to see secret information like your passwords, or to sign-in or otherwise use your authentication methods.", - "consentDisplayName": "Read your authentication methods.", + "consentDisplayName": "Read your authentication methods", "id": "1f6b61c5-2f65-4135-9c9f-31c0f8d32b52", "isAdmin": true, "isEnabled": true, @@ -4202,7 +4202,7 @@ }, { "adminConsentDescription": " Allows the app to read and write authentication methods of all users in your organization that the signed-in user has access to. Authentication methods include things like a user's phone numbers and Authenticator app settings. This does not allow the app to see secret information like passwords, or to sign-in or otherwise use the authentication methods.", - "adminConsentDisplayName": "Read and write all users' authentication methods.", + "adminConsentDisplayName": "Read and write all users' authentication methods", "consentDescription": "Allows the app to read and write authentication methods of all users you have access to in your organization. Authentication methods include things like a user's phone numbers and Authenticator app settings. This does not allow the app to see secret information like passwords, or to sign-in or otherwise use the authentication methods.", "consentDisplayName": "Read and write all users' authentication methods", "id": "b7887744-6746-4312-813d-72daeaee7e2d", @@ -4712,9 +4712,9 @@ }, { "adminConsentDescription": "Allows the app to create, read, update, and delete user contacts. ", - "adminConsentDisplayName": "Have full access to user contacts ", + "adminConsentDisplayName": "Have full access to user contacts", "consentDescription": "Allows the app to read, update, create and delete contacts in your contact folders. ", - "consentDisplayName": "Have full access of your contacts ", + "consentDisplayName": "Have full access of your contacts", "id": "d56682ec-c09e-4743-aaf4-1a3aac4caa21", "isAdmin": false, "isEnabled": true, @@ -4722,9 +4722,9 @@ }, { "adminConsentDescription": "Allows the app to read user contacts. ", - "adminConsentDisplayName": "Read user contacts ", + "adminConsentDisplayName": "Read user contacts", "consentDescription": "Allows the app to read contacts in your contact folders. ", - "consentDisplayName": "Read your contacts ", + "consentDisplayName": "Read your contacts", "id": "ff74d97f-43af-4b68-9f2a-b77ee6968c5d", "isAdmin": false, "isEnabled": true, @@ -4732,9 +4732,9 @@ }, { "adminConsentDescription": "Allows the app to create, read, update, and delete events in user calendars. ", - "adminConsentDisplayName": "Have full access to user calendars ", + "adminConsentDisplayName": "Have full access to user calendars", "consentDescription": "Allows the app to read, update, create and delete events in your calendars. ", - "consentDisplayName": "Have full access to your calendars ", + "consentDisplayName": "Have full access to your calendars", "id": "1ec239c2-d7c9-4623-a91a-a9775856bb36", "isAdmin": false, "isEnabled": true, @@ -4742,9 +4742,9 @@ }, { "adminConsentDescription": "Allows the app to read events in user calendars . ", - "adminConsentDisplayName": "Read user calendars ", + "adminConsentDisplayName": "Read user calendars", "consentDescription": "Allows the app to read events in your calendars. ", - "consentDisplayName": "Read your calendars ", + "consentDisplayName": "Read your calendars", "id": "465a38f9-76ea-45b9-9f34-9e8b0d4b0b42", "isAdmin": false, "isEnabled": true, @@ -4752,9 +4752,9 @@ }, { "adminConsentDescription": "Allows the app to send mail as users in the organization. ", - "adminConsentDisplayName": "Send mail as a user ", + "adminConsentDisplayName": "Send mail as a user", "consentDescription": "Allows the app to send mail as you. ", - "consentDisplayName": "Send mail as you ", + "consentDisplayName": "Send mail as you", "id": "e383f46e-2787-4529-855e-0e479a3ffac0", "isAdmin": false, "isEnabled": true, @@ -4762,9 +4762,9 @@ }, { "adminConsentDescription": "Allows the app to create, read, update, and delete email in user mailboxes. Does not include permission to send mail. ", - "adminConsentDisplayName": "Read and write access to user mail ", + "adminConsentDisplayName": "Read and write access to user mail", "consentDescription": "Allows the app to read, update, create and delete email in your mailbox. Does not include permission to send mail. ", - "consentDisplayName": "Read and write access to your mail ", + "consentDisplayName": "Read and write access to your mail", "id": "024d486e-b451-40bb-833d-3e66d98c5c73", "isAdmin": false, "isEnabled": true, @@ -5562,9 +5562,9 @@ }, { "adminConsentDescription": "Allows the app to read the signed-in user's mailbox.", - "adminConsentDisplayName": "Read user mail ", + "adminConsentDisplayName": "Read user mail", "consentDescription": "Allows the app to read email in your mailbox. ", - "consentDisplayName": "Read your mail ", + "consentDisplayName": "Read your mail", "id": "570282fd-fa5c-430d-a7fd-fc8dc98a9dca", "isAdmin": false, "isEnabled": true, @@ -5702,9 +5702,9 @@ }, { "adminConsentDescription": "Allows an app to read information protection sensitivity labels and label policy settings, on behalf of the signed-in user.", - "adminConsentDisplayName": "Read user sensitivity labels and label policies.", + "adminConsentDisplayName": "Read user sensitivity labels and label policies", "consentDescription": "Allows an app to read information protection sensitivity labels and label policy settings, on behalf of the signed-in user.", - "consentDisplayName": "Read user sensitivity labels and label policies.", + "consentDisplayName": "Read user sensitivity labels and label policies", "id": "4ad84827-5578-4e18-ad7a-86530b12f884", "isAdmin": false, "isEnabled": true, diff --git a/tests/permissions-descriptions.spec.js b/tests/permissions-descriptions.spec.js new file mode 100644 index 00000000..a2d8e058 --- /dev/null +++ b/tests/permissions-descriptions.spec.js @@ -0,0 +1,39 @@ +const permissions = require('../permissions/permissions-descriptions.json'); + +describe('Permissions descriptions consistency', function() { + const permissionsList = permissions.delegatedScopesList; + + for (const permission of permissionsList) { + describe(`${permission.value}:`, function() { + + it('adminConsentDisplayName should not have trailing spaces', function() { + const displayName = permission.adminConsentDisplayName || ''; + expect(displayName).toEqual(displayName.trimEnd()); + }); + + it('consentDisplayName should not have trailing spaces', function() { + const displayName = permission.consentDisplayName || ''; + expect(displayName).toEqual(displayName.trimEnd()); + }); + + it('adminConsentDisplayName should not have leading spaces', function() { + const displayName = permission.adminConsentDisplayName || ''; + expect(displayName).toEqual(displayName.trimStart()); + }); + + it('consentDisplayName should not have leading spaces', function() { + const displayName = permission.consentDisplayName || ''; + expect(displayName).toEqual(displayName.trimStart()); + }); + + it('display names should not end with periods (for consistency)', function() { + const adminDisplayName = permission.adminConsentDisplayName || ''; + const consentDisplayName = permission.consentDisplayName || ''; + + [adminDisplayName, consentDisplayName].forEach(displayName => { + expect(displayName.endsWith('.')).toBe(false); + }); + }); + }); + } +}); \ No newline at end of file