function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Puja Dev 6Puja Dev 6 

How to give access permission to Junction Object..?


I have Junction object "Enrollment" (for Student Details and Test).
and I have Role Hierarchy, as folllowing : 
Admin ---- > Center Head --- > User

1. When I set OWD as "Private" for Student Details and Test then no any data is visible to "User". Not even self data.

2. When I set OWD as "Public Read/write" for Student Details and Test then all data is visible to "User". Data of admin too.

I want to show only User's data.

Please someone help to solve my issue...?

Hi Puja,

In Master - Detail relationship, typically Children will not have its own security settings.

It will always be the access rights on Master object.

If you are setting OWD to PRIVATE for Student Details and Test, please make sure "User's" profile has right object level access assigned.

Whatever object level access you assign to Master, will be applied on Child as well.

Hope this helps.