When creating a custom object with a master-detail relationship to the Work Badge (WorkBadgeDefinition) object in Salesforce Work.com (WDC), users may encounter the following error when editing a Profile:
'Permission Read [object name] depends on permission(s): Read Badges'.
This error prevents saving profile changes that include CRUD permissions on the custom object.
This error occurs because the custom object has a master-detail relationship with the Work Badge object. Salesforce enforces a dependency: any profile that grants Read access to a child object in a master-detail relationship must also have Read access to the parent (Badges).
When you attempt to grant CRUD on the custom object without enabling Read on Badges, the system throws this error.
Steps to Reproduce:
1. Create a custom object.
2. Make it a master detail relationship with Work Badge
3. Clone a profile
4. Give the profile CRUD on the custom object
5. You will get the error: Permission Read foo object depends on permission(s): Read Badges
To resolve this error:
(1) Enable the Enhanced Profile User Interface in Setup (Setup > User Interface > Enable Enhanced Profile User Interface). The Enhanced Profile UI provides more granular control over object-level permissions.
(2) Open the Profile in the Enhanced UI and set the permissions you want for the custom object.
(3) Ensure that 'Read' access to Badges is also enabled for the profile — this resolves the dependency.
000387932

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.