Manage Permission Set Assignments
Step 1: Install this repo into your Salesforce instance
Step 2: Ensure your profile has access to the "Permission Set Manager" custom Tab. You may need to modify profile settings to do this
Step 3: Navigate to the "Permission Set Manager" Tab on the app launcher
Step 4: Search for the permission that you wish to assign
Step 5: If there is no existing Permission Set Assignment Setting record for this PermissionSet or you are configuring the PermissionSet via this tool for the first time you will need to click the "Manage Assignments" button in the detail section
Step 6: Add user criteria based on SOQL WHERE clause syntax - In fact it is exactly that