A permission set has the View All Records/Modify All Records object permission on a Platform Event or an object, but there's no option to disable it from the user interface.
1. Go to Setup | Permission sets.
2. Select a permission set.
3. Choose Object Settings.
4. On the target object/platform event, object permission shows View All Records or Modify All Records
5. Click the target object/platform event.
6. Click Edit. Only Read and Create permissions are available.
1. Open the Developer Console.
Salesforce Classic:
Click Your Name | Select Developer Console.
Lightning Experience:
Click the quick access menu (Setup gear icon) | Select Developer Console.
2. Choose the Query Editor tab.
3. Input the query.
Example query:
SELECT Id, ParentId, SobjectType, PermissionsViewAllRecords, PermissionsModifyAllRecords FROM ObjectPermissions WHERE SobjectType = 'Create_Contact__e' and ParentId = '0PS2E000002Iw7a'
4. Click the Execute button.
5. Double click on the row of the column to update. Make changes.
6. Click Save Rows button.
NOTE:
SobjectType value refers to the API name of the target Object or Platform Event.
ParentId value refers to the target Permission Set Id.
To get the object Id:
Standard Objects - Refer to Object Reference for Salesforce and Force.com . Select the object to get API name.
Custom Objects - Review the section Naming Conventions for Custom Objects of the Developer Documentation.
Platform Event - Similar to custom objects, this can accessed on the Platform Event setup page.
There is an existing Known Issue, Unable to assign permission set to users due to View All being enabled on Platform events, which uses these steps as a workaround.
Find the Salesforce ID for a User or profile
Remove permission set assignments with API
Some profile permissions are not accessible in API
000389259

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.