Wednesday, May 11, 2016

Salesforce Interview Questions-Sharing & Security Part-3

11. What will happen if profile related to user U1 above in role hierarchy doesn’t have CRUD permission for object say A. User U2 below in his role hierarchy have CRUD permission to object A. Will user U1 will be able to see or edit record if Grant Access Using Hierarchies is checked for object A in sharing settings?

No.If a user does not have read or edit access to an object via OWD, a profile or permission set, they will have no visibility over an object regardless of their role and role hierarchy.
Always remember that User above in role hierarchy can see records of users below in hierarchy but operation which he can perform depends on permission on his profile (CRUD & View All & Modify All).

12. What is permission Set?

A permission set is a collection of settings and permissions that give users access to various tools and functions. The settings and permissions in permission sets are also found in profiles, but permission sets extend users’ functional access without changing their profiles.
For example, to give users access to a custom object, create a permission set, enable the required permissions for the object, and assign the permission set to the users. You never have to change profiles, or create a profile for a single use case. While users can have only one profile, they can have multiple permission sets.

13. Is it possible to restrict permission for users using permission set?
No. Permission Set always extends the permission.

14. If you have two record types for an object, do you need to have two page layouts for that objects?
No. It is not required but if user want different UI for different record type then we can create 2 different page layout and assign page layout to profiles based on record type.

15. If a user does not have access to a specific record type, will they be able to see the records that have that record type?
Yes. Record type controls only visibility of record on UI not its access to users.

<<Sharing & Security Part-2         Sharing & Security Part-4>>                              



10 comments:

  1. The Salesforce interview questions shared are very much useful My Sincere Thanks for sharing this post and please countinue to share this kind of post
    Salesforce Training in Chennai

    ReplyDelete
  2. Great Article
    Cyber Security Projects

    projects for cse

    Networking Security Projects

    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete
  3. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. ip cameras

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Each had extraordinary driving edge innovations. The thing that matters was opportunity.Security Cameras

    ReplyDelete
  6. Nice article thanks for sharing the great information ....!
    Sales Force CPQ Training
    Visit us: salesforce cpq course

    ReplyDelete
  7. I am so grateful for your article. Much thanks again. Fantastic.
    security firms in singapore

    ReplyDelete
  8. Thanks for taking the time to discuss this, I feel strongly that love and read more on this topic. If possible, such as gain knowledge, would you mind updating your blog with additional information? It is very useful for me. cambodia security company

    ReplyDelete
  9. Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. https://medium.com/@saleemmud/what-is-a-cctv-camera-fe04c8840e9b

    ReplyDelete