Compartilhar via


root.authorization.permissions.resourceSpecific object

Permissions that guard data access on a resource instance level.

Properties that reference this object type:

Syntax

{
  "name": "{string}",
  "type": "Application | Delegated"
}
{
  "name": "{string}",
  "type": "Application | Delegated"
}

Properties

name

The name of the RSC permission to be granted. For the full list of available permissions, see Resource-specific consent for your Teams app.

Type
string

Required

Constraints
Maximum string length: 128.

Supported values

type

The type of the resource-specific consent (RSC) permission.

Type
string

Required

Constraints

Supported values
Allowed values: Application, Delegated.

Remarks

Application permissions enable the app to access data without the presence of a signed-in user. Delegated permissions enable the app to access data only in the context of a signed-in user's sessions; it doesn't allow access in the absence of a signed-in user.

Examples

{
    "authorization": {
        "permissions": {
            "resourceSpecific": [
                {
                    "type": "Application",
                    "name": "ChannelSettings.Read.Group"
                },
                {
                    "type": "Delegated",
                    "name": "ChannelMeetingParticipant.Read.Group"
                }
            ]
        }
    }
}