Skip to content

Commit

Permalink
Revert "Update schema for app authorization section (#124)" (#133)
Browse files Browse the repository at this point in the history
This reverts commit 32b05af.
  • Loading branch information
charlesji-msft-teams authored Sep 7, 2021
1 parent 32b05af commit d1882b2
Showing 1 changed file with 8 additions and 60 deletions.
68 changes: 8 additions & 60 deletions MicrosoftTeams.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,14 @@
"type": "string",
"description": "Resource url of app for acquiring auth token for SSO.",
"maxLength": 2048
},
"applicationPermissions": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string",
"maxLength": 128
}
}
},
"required": [
Expand Down Expand Up @@ -929,66 +937,6 @@
},
"description": "Specify meeting extension definition.",
"additionalProperties": false
},
"authorization": {
"type": "object",
"description": "Specify and consolidates authorization related information for the App.",
"additionalProperties": false,
"properties": {
"permissions": {
"type": "object",
"description": "Specify Permissions which App lists for accessing Resource.",
"additionalProperties": false,
"properties": {
"orgWide": {
"description": "App's organization wide classic permissions provided by user.",
"maxItems": 16,
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The Permission name of app's permission node.",
"maxLength": 128
},
"type": {
"type": "string",
"enum": [ "Application", "Delegated" ],
"description": "The Permission type of app's permission node."
}
},
"required": [ "name", "type" ]
}
},
"resourceSpecific": {
"description": "App's resource specific permissions provided by user.",
"maxItems": 16,
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "The Permission name of app's permission node.",
"maxLength": 128
},
"type": {
"type": "string",
"enum": [ "Application", "Delegated" ],
"description": "The Permission type of app's permission node."
}
},
"required": [ "name", "type" ]
}
}
}
}
}
}
},
"required": [
Expand Down

0 comments on commit d1882b2

Please sign in to comment.