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
Gonsalvas GiragoriGonsalvas Giragori 

Role hierarchy is not working

Sales Team Lead of my org should see orders of sales reps who works under him. But he is able to see all the Orders in the org.
Role Hierarchy is enabled by default, OWD security setting for Order is Private.
Access given to users by permission set which give view,create,edit,delete access with order object.

Sales Team Lead is able to view all the orders even if he don't have any sales rep under him.

Please help me on it. I struggling with this for two days.
Naveen KumarNaveen Kumar
Hi gonsalvas,
                    Maybe you give view all permissions in profile level on orders (Object). View all permissions give administrative function to the corresponding object
Thanks ,
Naveen
Gonsalvas GiragoriGonsalvas Giragori
Hi Naveen,
           Thanks for your reply.
In profile settings there is no permission for Order. Even in permission set i have given access as read,edit,create,delete. but no view all.
Thanks,
Gonsalvas
Naveen KumarNaveen Kumar
Hi Gonsalvas Giragori,
                                 Please check your profile permission as view all data ................
Thanks,
Naveen