microsoft / PowerPlatform-Catalog

Power Platform Catalog Issues and Feedback
MIT License
9 stars 0 forks source link

Publisher level Auto-approval not working #16

Closed miguelverweij closed 5 months ago

miguelverweij commented 5 months ago

Describe the bug The documentation states that when Allow Auto-approval is enabled, submissions for that publisher are approved automatically. This was not working for me.

To Reproduce Tells us how you got to this behavior:

  1. Global setting off
  2. Publisher setting turned on
  3. Submit through PAC CLI
  4. See that the submission requires an approval

Screenshots Publisher settings: image

Submission: image

App Info (please complete the following information):

Additional context Add any other context about the problem here.

MattB-msft commented 5 months ago

@miguelverweij

Currently, this is configured as a 2-stage lock and is only effective on the second publish / update.
Both the Publisher and the Catalog item need to be set to enable auto approval.

For it to work, the following conditions need to be in place: 1) Publisher needs to have Auto Approve enabled. 2) The Catalog Item needs to have Auto Approve enabled.

The reasoning here is that an Auto Approval process would be applied only after the catalog item was initially validated, and 'trusted'. Thus Trusting the Publisher and Trusting the Catalog Item they submitted. This also allow you to deny auto approval to all catalog items that a publisher has, or selectively block auto approval of a specific catalog item due to some issue or a need to block revisions to it.

Let us know if this enables it for you

miguelverweij commented 5 months ago

That clarifies it for me. Thanks! Works as a charm now.

MattB-msft commented 5 months ago

Happy to help