Class SetPermissionCommandSettings
Set permission settings for given embedding and embedded origins.
public sealed class SetPermissionCommandSettings : ICommand
- Inheritance
-
SetPermissionCommandSettings
- Implements
- Inherited Members
Properties
BrowserContextId
Context to override. When omitted, default browser context is used.
[JsonPropertyName("browserContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? BrowserContextId { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
EmbeddedOrigin
Embedded origin the permission applies to. It is ignored unless the embedding origin is present and valid. If the embedding origin is provided but the embedded origin isn't, the embedding origin is used as the embedded origin.
[JsonPropertyName("embeddedOrigin")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? EmbeddedOrigin { get; set; }
Property Value
Origin
Embedding origin the permission applies to, all origins if not specified.
[JsonPropertyName("origin")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Origin { get; set; }
Property Value
Permission
Descriptor of permission to override.
[JsonPropertyName("permission")]
public PermissionDescriptor Permission { get; set; }
Property Value
Setting
Setting of the permission.
[JsonPropertyName("setting")]
public PermissionSetting Setting { get; set; }