Using the CLI you can deny a permission with a message explaining why/ alternative approach.
It doenst look like this is possible with the current PermissionRequestResult
// Summary:
// Result of a permission request evaluation.
public class PermissionRequestResult
{
//
// Summary:
// Permission decision kind.
//
// • "approved" — the operation is allowed.
// • "denied-by-rules" — denied by configured permission rules.
// • "denied-interactively-by-user" — the user explicitly denied the request.
// • "denied-no-approval-rule-and-could-not-request-from-user" — no rule matched
// and user approval was unavailable.
// • "no-result" — leave the pending permission request unanswered.
[JsonPropertyName("kind")]
public PermissionRequestResultKind Kind { get; set; }
//
// Summary:
// Permission rules to apply for the decision.
[JsonPropertyName("rules")]
public IList<object>? Rules { get; set; }
}
Using the CLI you can deny a permission with a message explaining why/ alternative approach.
It doenst look like this is possible with the current
PermissionRequestResult