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
sreenathsreenath 

User view needed to be different as they loggedIn

Hi developers,

 

                       How to do this type? I have a page & controller, to fetch records between two dates by user input & downloaded records in csv. User view need to be different. In an org. role based record creation & role based record need to be view

 

eg: Normal user can create today's date record.

      team lead of users can create today's & tomorrow records

 

viewing records:

    

            In role hierarchy , user can view only his records, teamlead can view group of user records of their team, admin can view all records