Admin 302
Admin 302
Role Hierarchy
Users above the owner in the role hierarchy
have access to records owned by the owner.
Field Access
Field-level security can be defined in profiles Sharing Rules
to control visibility to fields within records. A sharing rule allows granting access to
records based on criteria or ownership.
Record Access
Organization-wide default setting determines Manual Sharing
users’ access to records they do not own. Users can manually share individual records
with other users using the Sharing button.
Object Access Public Groups
A user’s profile determines whether a user
A public group can be created for features
can access an object and the access level.
such as sharing rules and folder access.
Object Access
†
Create
Read
Profiles determine which
Permissions on
objects a user can access View All and Modify all
objects can be
and what actions they can grants access to all records
set to: Edit
take on those objects. of the object and overrides
sharing settings.
Delete
Profiles determine access to tabs and apps. There are different tab access settings.
Record-level access determines what a user can do with records of a particular object.
Create
Read
OBJECT Object permissions
PERMISSIONS control what users can
Edit do with records
they own.
Delete
Organization-Wide Sharing Settings
†
Organization-Wide Defaults (OWD) determines access to other users' data for records
they do NOT own.
LIMITATION
OWD settings do not grant more access than the object access granted in the user’s profile.
Organization-Wide Sharing Defaults
†
Public Read/Write Allows users to view and edit other users records.
Public Read Only Allows users to view other users records but not edit.
Users cannot see other users records unless it is shared or if the user is
Private
above the record owner in the role hierarchy.
Users can perform an action based on if they can perform the action on
Controlled by Parent the parent object e.g. contact actions are controlled by the actions
available on an account.
Organization-Wide Sharing Defaults
†
Users can view pricebooks but only users with ‘Edit’ permission on
Pricebook: View Only opportunities or users that have been manually granted access can add
pricebooks to opportunities.
Campaign Member: Controlled by Only users who have access to the campaign are able to see the details
Campaign of the campaign members related to the campaign.
Campaign Member: Controlled by Only users who have access to the lead or contact records of campaign
Lead or Contact members are able to see the campaign members.
Public Full Access for Campaigns
†
All users can see one another's user detail pages. They can also see all
User: Public Read Only users in lookups, list views, ownership changes, user operations, and
search.
Organization-Wide Sharing Defaults
†
Calendar: Show Details Users can see information about events in other users calendars.
Calendar: Show Details and Add Same as Show Details with the additional of being able to insert events
Events in other user's calendars.
Users can see all event details, insert events, or edit events in other
Full Access
user’s calendar.
Record Access
†
NOTES
If a custom object is on the detail side of a master-detail relationship with a standard object, the OWD setting
will be ‘Controlled by Parent’ and cannot be changed.
User visibility will affect which users are displayed in the People tab of Chatter. If user visibility is set to
Private, then users will not see any other users.
Learn More
†
REQUIRED EDITIONS
Available in Professional, Enterprise, Performance, Unlimited, Developer, and Database.com
Editions.
RECORD ACCESS
The role hierarchy allows additional record access when the object OWD setting is set to more
restrictive than Public Read/Write, e.g., Private/Public Read-Only.
ACCESS NO ACCESS
TYPES
Manager groups allow users to share records up or down their management chain.
‘Manager Groups’ can be enabled Once enabled, users can share Manual sharing, sharing rule, or
on the ‘Sharing Settings’ page. It is records with their managers or Apex managed sharing can be
based on the Manager field on the manager subordinate groups. used to share records with
user detail page. a manager group or manager
subordinates group.
Enable Manager Group Sharing
†
Use Manager Groups in Sharing Rules
†
Learn More
†
The Sharing button on user detail pages enables a user to grant others access to the user’s own user record.
VISIBILITY REPORT
It is possible to control the visibility of standard reports that might expose data of users to whom a user doesn’t
have access by selecting the 'Standard Report Visibility' checkbox.
Selecting the 'Standard Report Visibility' checkbox allows users to view reports based on standard report
types that can expose data of users to whom they don’t have access.
Manual User Sharing
†
Granted to other users based on Extended across the role Extended across the territory
their role, territory, public group hierarchy, sharing records owned hierarchy, sharing records owned
membership or manager groups, by one role with users in another by users in a territory or with
that they wouldn’t normally role at the same level users in a territory
have access to according to the
organization-wide sharing settings
Sharing Rule Example
†
Sharing rules extend the access that have been established via the OWD and role hierarchy.
CONSIDERATIONS
Sharing rules for campaign members can inherit from lead and contact rules or from the campaign.
If a sharing rule allows a user to view or edit certain records but the user's profile does not give them ‘read’
access to the object, then the user will not be able to access the records associated with the sharing rule.
A profile determines at the base level what can be done with the records of a certain object, while a sharing rule
opens up access to the records of the object.
For instance, if a sharing rule has been created to allow a public group of users to ‘read/write’ certain account
records, but the profile of one of the users does not grant 'read' access to the Account object, then the user will
not be able to view the records via the sharing rule.
Learn More
†
Sharing Rules
Manual Sharing
†
Manual sharing allows users to share records with other users on a one-off basis.
RECORD SHARING
Records can be shared with other Users, Roles, Roles and Subordinates, Territories, Territories
and Subordinates, Public Groups, Manager Groups or Manager Subordinate Groups.
Manual Sharing
†
ADMINISTRATOR
Manual Sharing
†
READ/WRITE
view and edit, add associated records,
notes and attachments
READ ONLY
view, add associated records, cannot
edit or add attachments or notes
Manual Sharing
†
TURNED ON
Users can manually share records with
other users using the ‘Sharing’ button on
objects including accounts, contacts, leads,
ON
users, cases and custom objects.
TURNED OFF
Sharing of user records can be disabled with
OFF the ‘Manual User Record Sharing’ checkbox
on the Sharing Settings page.
Sharing Button in Salesforce Classic Only
†
Manually Share Records
†
Enable Manual User Record Sharing
†
Record Access Summary
†
Several Salesforce features are available at different levels in order to restrict or open up
access to records.
Access to objects is first defined at the object level for a user profile for records the user owns.
Organization-wide default settings open up access to records the user does not own for specific objects.
Sharing rules open up record access to users when the OWD settings are set to anything more restrictive than
Public Read/Write.
Record access in Salesforce is based on the concept of opening up record access from
more restrictive to less restrictive.
LEAST RESTRICTIVE
RECORD ACCESS
MOST RESTRICTIVE
OWD
OBJECT SHARING
SETTINGS MANUAL
Profile object RULES
Organization- SHARING
permissions Sharing rules
Wide Default Users can
and permission record access is
Settings manually share
set determine granted based
determine records with
access to on record
access to other users.
records owned. owner or
records NOT
owned. criteria.
Record Access Summary
†
Public Groups
†
Public groups can be used in an organization and may contain specific users, users in particular
roles or territories, users in roles and those below them in the hierarchy, and other public groups.
Some Salesforce features or settings can be shared with other users in the organization.
Read the following user request scenarios for access or restrictions to data. Consider what
features of the Salesforce sharing model would be most appropriate to meet the requirement.