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
Sowmya G SSowmya G S 

how to give the field permission set access to account rating field: create access, delete (ONLY create and delete)

NagendraNagendra (Salesforce Developers) 
Hi Sowmya,

To complete this challenge, you must first create a profile called "Basic Account User".
  1. In Setup, choose Manage Users > Profiles
  2. Click the New Profile button at the top
  3. You will need to clone an existing profile; from the Existing Profile drop-down, select a profile that uses the Salesforce user license ("Standard User" is one of these)
  4. Name the profile "Basic Account User" and click Save
Now set the permission for the new profile so that it only has Read access to the "Accounts" object.
  1. From the Profiles list, click the Edit button next to Basic Account User
  2. Scroll down to the Standard Object Permissions section and uncheck every box for all objects; now check only the boxes in the Read and Edit columns for the Accounts object
  3. Scroll to the top or bottom and click Save
You now have the correct user profile to complete the challenge: A profile that can only view and update Accounts. It is now possible for two users to have these permissions. You now need to create a permission set that will grant extra permissions to any users it is applied to; in this case, the permission set will allow its assigned user to see and edit the Rating field in the Account object.
  1. In Setup, choose Manage Users > Permission Sets
  2. Click the New button near the top
  3. Give the new permission set the Name "Account Rating" and hit the Tab key; ensure that the API Name is "Account_Rating"
  4. From the Permission Sets list, click your new "Account Rating" permission set
  5. In the Apps section, click Object Settings
  6. Click Accounts
  7. Click the Edit button near the top
  8. Scroll down to Rating and check both boxes to allow this permission set to grant the user Read and Edit permissions to the Rating field
  9. Scroll to the top and click Save
You've now solved the two main parts of the challenge: Creating a profile that can only view and update Accounts and creating a permission set that grants specific users the additional permission of being able to see and edit the Rating field.

This was the last piece of the puzzle that allowed me to finally solve this challenge: I needed to set the field-level security on the Rating field of the Accounts object to be hidden from all users. Here's how I did it. 
  1. In Setup, choose Customize > Accounts > Fields
  2. In the Account Standard Fields box, click Rating in the Field Label column
  3. Click the Set Field-Level Security button at the top
  4. In the Basic Account User row, uncheck all boxes
For more information please refer to below links from the forums community which has step by step screenshot.
  • https://developer.salesforce.com/forums/?id=906F0000000BNzFIAW
  • https://developer.salesforce.com/forums/?id=906F0000000BUghIAG
  • https://developer.salesforce.com/forums/?id=906F0000000AzmoIAC
  • https://developer.salesforce.com/forums/?id=906F0000000BNuPIAW
Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra