Custom Permission Set Component

This is a custom permission set component that is made in LWC. This component can be used to assign multiple fields and object permissions to multiple permission set at the same time. This is a very helpful component when permission on a field or two needs to be assigned to many permission sets at the same time.

This is a complete generic component that is made out of the LWC (lighting web components) in salesforce. This component can be assigned to quick action, to the home page, to a record page and even to the app page.


Click here to check the video demonstrating the working of the component,                                         


Component Description :

This component has 3 sections.

  1. Object - The object section contains a dropdown with the list of objects which can be selected. Once an object is selected the fields of the objects that are permissible automatically appear as a list with a checkbox in front of each field. Users can select more than one field at a time which is to be given permission.
  2. Permission Sets - The permission set section contains a list of permission sets that are customizable in the Salesforce org. Users can select more than one permission set at a time which is to be given permission.
  3. Permissions - The permissions contains two sections internally - 
    1. Object Permissions - Object permission contains multiple selectable checkboxes that represent the type of permission you want to give on the initially selected object.
    2. Field Permissions - This contains the single selectable radio button which represents the type of permission that can be assigned to a user.


 Components : 

  1. Apex Class - PermissionSetController
  2. Aura Component - PermissionSetContainer
  3. LWC Component - PermissionSetComponent
  4. Quick Action - (If the permission set component needs to opened as a quick action).
  5. Flexi Page - (If the permission set component needs to assigned on a Flexi page).




Comments

Post a Comment

Popular posts from this blog

Service Cloud for Lightning Experience - All Steps Q&A [Salesforce][Trailhead]

Salesforce Process Builder in Brief (Learning/Interview)

Cloud Computing

Copado Winter 21 Administrator Maintenance Dumps

Einstein Analytics Data Preparation Specialist