Find your content:

Search form

You are here

Sites / Customer Portal Sharing Capabilities

 
Share

We'd like to build a web application based on force.com Sites and Customer Portal Licenses to have authenticated named users.

The data model consist of some custom objects. Now the end users should be able to access a certain amount of data read only (common data), and should be able to modify all records they create themselves.

Is that possible? Are the sharing mechanisms as flexible for portal users as for platform users? We would have a real problem if users could only access the data they own.


Attribution to: h9nry

Possible Suggestion/Solution #1

You can use high volume portal license for this and sharing sets have to be created and this controls the sharing model.

Documentation link is here

http://login.salesforce.com/help/doc/en/customer_portal_view_hvpu_sharing_set.htm.

Here is one more documentation for how to grant access to records using high volume portal licences

http://login.salesforce.com/help/doc/en/customer_portal_setting_light_users.htm


Attribution to: Mohith Shrivastava

Possible Suggestion/Solution #2

The flexibility of the sharing model much depends on which licenses you are using. If you are using full Customer Portal licenses, then these users will have roles and participate in sharing rules much as regular users do (although they appear in a fixed place in the role hierarchy, under the owner of the account that their user is associated with).

If you are using High Volume (aka Service Cloud Licenses), then these users don't have roles and don't participate in the sharing rules (hence they are much cheaper than customer portal licenses). There are sharing sets available for the high volume licenses, but these are based on profile require a lookup on the record to be shared to either the account or contact associated with the high volume user, so they really aren't that flexible.

As you are using Force.com sites, you are in Visualforce land, so if you are using custom/extension controllers you can decorate your class with the 'without sharing' keywords - this ignores the sharing restrictions of the currently logged in user so would allow you to provide access to common data regardless of the user's actual access.


Attribution to: Bob Buzzard
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/3324

My Block Status

My Block Content