How to auto-apply a Permission template (with Project Key Pattern)

All above is still valid for cases when Name == Key. Which is our case.
Please advise of this.
Thanks.