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

Revert "Update schema for app authorization section" #133

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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