Access is probably the most interesting and important concept in Salesforce.
Access can be Organization level , Object level , Field level and Record level.
Objects in Salesforce are basically similar to Tables in any RDBMS databases (Same as entity). Objects have fields (many). Fields are similar to Columns in RDBMS. Records are similar to records (Simple!)
So remember:
1.Object 🡒 Table
2. Field 🡒 Column
3. Record 🡒 record
Shown below: An object can have many fields and records
Object Access: Profiles and Permission Sets control the user's access to an object. An object can standard or custom, it is applicable to both. Profiles provide 'minimum baseline access' to all objects and fields.
Profiles:
1. Each SFDC user has to have a profile and there can be only ONE profile per user.
2. Profiles have multiple users assigned to them. Profiles are usually created by their function. Example a sales representative, call center agent, sales manager etc.
3. Profiles also control access to fields but do NOT control access to records.
4. There are 5 standard profiles:
- Read Only
- Standard User
- Marketing User
- Contract Manager
- System Administrator
Normally admins clone these profiles and modify/customize them as per business needs.
5. Access to profiles: Setup>Quick search> Type Profiles
6. Profiles also control additional features like: allowed login times, App visibility (Apps are collection of objects working together as application) , tab visibility, record types etc.
7. For Objects, the access is in CRED form: Create, View (read), Edit and Delete. E.g. If your profile has a has edit setting for an object, you would have an ability to edit that record (unless that record does not belong to you, then there are further rules ...)
Permission Sets: Profiles provide 'minimum baseline access' to the objects. There are times when we need to give extra access or additional access for a specific person or specific group of people. There is also a use-case for granting additional access for specific times. We use Permission Sets to do that.
Comments
Post a Comment