How Allow a user to create Quality Inspection only from Purchase Receipt

I have a requirement in ERPNext and I would like to know the best standard approach for it.

We have a user in the Stock / Purchase department. I want this user to be able to create a Quality Inspection only from a Purchase Receipt, but not have full Quality control permissions.

The process I need is:

  1. Stock / Purchase user creates the Purchase Receipt

  2. The same user can create the related Quality Inspection from that Purchase Receipt only

  3. After that, the Quality team completes the inspection and submits/finalizes it

What I want to prevent is:

  • the Stock / Purchase user creating Quality Inspection manually from anywhere else

  • the Stock / Purchase user completing or submitting the inspection

  • giving this user broad Quality permissions

So my question is:

Is there a standard way in ERPNext/Frappe to allow Quality Inspection creation only from Purchase Receipt, while restricting completion/submission to the Quality department?