records based on roles

hi i want in resource if user has client role just see the record that belongs to him and if user has the role of operator see all records can any one help me?
Was this page helpful?