We could improve this in a later PR if you wish, but this UI bothers me somewhat.  I'd like to see the purpose of "Unlimited?" and "Search" to restrict which objects the permissions apply to made clearer on the form, there's currently no explanation of the purpose of these fields.  The word "unlimited" could be quite confusing too in this context, I'd suggest hiding it entirely from the UI and using a friendlier label such as "All resources of this type" or similar.