I was trying to test sharing rules on a custom object: Record_For_Sharing__c
The object's organisation-wide default sharing setting is private for both external and internal users.
I added a sharing rule based on the owner:
From: Roles -> SomeRole To: Public Group -> All Internal Users
And then created records from a user with the role "SomeRole"
The problem is that when creating a record, either manually or from sfdx, no internal users have access to the record. This was tried with users with licences "Salesforce" and "Salesforce Platform"
Also, the correct entries are created in the Record_For_Sharing__Share table.
When doing the same on a developer org, internal users do have access to the records.
Is this a known bug or is there something I am missing?