Salesforce permissions are all about what a user can do in terms of Field Level Security, object level access, Apex class access, Visualforce page access, and other built in Salesforce access that are handled via a profile or permission set.

learn more… | top users | synonyms

1
vote
1answer
19 views

unable to query Case object

when trying to query case object with below SOQL, giving me an error that no such field exist. where as i can able to see field in the customization. ? is this permission issue ? select id,status ...
1
vote
1answer
33 views

list of permissions included in a permission set?

I want to see which permissions are included in one of my permission sets. is there a way to get them all at once? Best I can see is that you have to go through 5- 6 different screens
5
votes
2answers
70 views

Permission Sets: I can't navigate between VF pages with “Read only” Access

This is the scenario: I have a custom object myObject__c and two VF pages which have the object as standardController and MyObjectController.cls as extension. The class is a StandardController that ...
5
votes
2answers
41 views

Check whether context user is having “view all” permission on an object

I want to check whether context user is having "view all" permission on an object or not. Is there any way to know that?
4
votes
2answers
43 views

When new fields deployed from sandbox, how do I give acccess to guest site users?

We created a web page for contact information. When we deployed it to production, all the new fields were hidden from all users. I set the access to visible for all users, however my guest site ...
1
vote
1answer
35 views

Permission Set Blank When Installing Managed Package

Developed a Permission set based on the SalesForce user license for our managed package. When I install the package as a Sys Admin in customer org, the permission set is blank. Its there, but none of ...
5
votes
1answer
67 views

Permissions to execute System.abortJob() method

What permissions does user need to call System.abortJob() in Apex? When the method is called this error is displayed: System.SecurityException: Insufficient Privileges. Thanks.
4
votes
1answer
36 views

Allowing Certain Users To See/Search Certain Records Only

I believe this functionality is built into SF, but I am not familiar with it and our company may be needing it soon. How do I allow certain users to only be able to see (or search) specific records? ...
3
votes
3answers
168 views

VisualForce - How to detect if a user has write permissions for a field

I would like to display different elements to a user depending on whether they have write permissions for a certain field, or just read permissions. Is it possible to detect user permissions for a ...
2
votes
2answers
106 views

Show “Insufficient Privileges” directly when clicking 'Edit' (override), not on 'Save'

If a user clicks 'Edit' on an opportunity which he isn't allowed to edit, the "Insufficient Privileges" page directly appears. This is good. If a user clicks 'Edit' on a custom object (which has an ...
2
votes
1answer
52 views

What are the correct scopes to use for different applications?

I am writing a desktop application (or several) to access mail, contacts and chat via the REST api (User-Agent Flow) What are the correct and minimal scopes to use for each of these individually or ...
2
votes
1answer
74 views

Site.com Guest User is not available as default Lead Owner on Lead form

I'm adding a Lead form to a Site.com page, similar to this blog post by Joe Morse. I am able to select the Lead object from the form connection picklist when dragging the form on to the page and I ...
2
votes
2answers
116 views

Apex bypasses field-level security?

Can an apex code, invoked by a non-admin user, perform an update on a field that has a field-level security of visible and read-only for non-admin profiles? If so, what is permitted/restricted by the ...
1
vote
2answers
141 views

VF controller system context versus Sites Guest User object permissions

I'm trying to clarify VF controller context versus Sites Guest User permissions on Contact record. From everything I've read, a VF controller using "without sharing" operates in the system context. ...
2
votes
2answers
78 views

Standard Lookup field doesn't show all Contacts

I have an ordinary master-detail relationship, where Contact is the master and Example__c is the detail. I have a number of Contacts in the system, and have full CRUD permissions on all of them. The ...
2
votes
1answer
68 views

Can I reference permissions in Validation Rule formula?

I'm trying to cut down on the number of profiles in one of my Orgs. One way we're using profiles is to enforce business rules, like "Only a ZZZ user may close opportunities as won," which we do by ...
1
vote
2answers
103 views

Permission problem in sales forece

My URL :- http://myurl.com/homepage2 This is a site URL... I am showing a page if user will fire this URL.. While running this URL i am getting some permission problem -- What i have tried -- Try to ...
4
votes
2answers
245 views

Permission Sets for Site Guest User

Managing permissions on a force.com site is one of my least favorite things to do. If you got it right in dev, then move to QA, you have to write down all the permissions because you can't deploy ...
7
votes
2answers
230 views

Custom Controllers - effect of running in System mode

The VisualForce Developer's Guide says: Like other Apex classes, all custom controllers run in system mode. Consequently, the current user's credentials are not used to execute controller logic, ...
0
votes
2answers
57 views

How do I enable a custom object for search on the customer portal

I'm running into a strange problem. I am trying to use the standard customer portal search but for some reason only some of my custom objects are visiable there? I cant seem to figure out what makes ...
2
votes
1answer
136 views

How to show custom object tabs in Customer Portal?

What are ALL the steps to show custom object tabs in Customer Portal? Some steps which I have tried are: Checked the Available for Customer Portal checkbox in the Custom Object Definition Detail ...
6
votes
5answers
177 views

Can you limit the visibility of fields based on record ownership?

I know with permission sets and sharing rules you can limit visibility and how users can interact with entire records. IS there any way to limit visibility of fields? We are looking to make the basic ...
1
vote
1answer
166 views

Notes & Attachments Data Not Available

I am using an outputLink and want to give the user the opportunity to add a Note to a Contact like so: <apex:outputLink title="Add a Note" ...
5
votes
2answers
146 views

Cannot edit Deployment Connections when given rights through a Permission Set

The default System Administrator profile does not allow for creation of Change Sets and Deployment Connections. At one time we set up a clone of System Adminstrator with the following permissions ...
2
votes
1answer
127 views

Custom Report Type Broken

I deployed a change set that included two custom report types for accounts with opportunities. These two custom report types sat next to an existing custom report type. Ever since this deployment ...
5
votes
4answers
581 views

What overrides a profile?

I am confused about the hierarchy of settings 1) I have a profile A and it has a read only access. I have a permission set specific to an user and the permission set grants the user access to edit ...
8
votes
3answers
1k views

How to access profile permissions via API

If I know the name of a certain profile, I would like to obtain CRUD permission settings for each object in the profile using Apex. I see that there is an sObject called Profile, but this only ...
3
votes
1answer
164 views

Unit-Testing Sites Permission Involving a Sharing Rule with Unit-Test Created Data

We currently have a Salesforce Site, and we're trying to add some unit-tests, around permissions and sharing rules that need to be set. We've smoke tested everything via the UI, and permissions appear ...
1
vote
1answer
59 views

Can a user with limited access query from SOAP api?

So we have the exact same fields in the Sanbox and Production, however, when I run a select statement from the SOAP api, I am told a certain field is invalid. I confirmed it is not invalid. The only ...
4
votes
2answers
269 views

Can't install managed package because packaged permission set seems to have lost a read permission

I developed a Managed Extension Package. When I try to install it or create a patch org for it, this fails with no error but the note to call Salesforce. Support told me that it fails due to: ...
12
votes
6answers
1k views

What is the best way to deploy profiles in Salesforce? (especially system admin)

What is the best way to deploy profiles in salesforce? I have a system admin profile with access given to the objects that i have created in my sandbox. I have about 1000 fields across these objects. ...
0
votes
4answers
332 views

How to make Lead Status field read-only in a profile?

I'm trying to set up a profile that can only change the Owner on a Lead, nothing else. Mostly it works, except for three fields: Name, Lead Status and Company: Field-level security won't let me ...
0
votes
2answers
175 views

Close and Change Status buttons missing for some users on in Case List View

I've noticed that some of our users cannot see the Close or Change Status buttons which normally appear in the cases List Views. They have permissions to read, create and edit cases. What I can see: ...
2
votes
2answers
76 views

Record Owner cannot edit record

From what I have read and some online vids I've watched, I understood that record owners have full access to the records that they own. Full access meant that they could read, edit, delete and share ...
4
votes
2answers
135 views

How to remove permission sets from a package

We created some permission sets to include with our managed package. However, we have now realized that it isn't the best approach since not all orgs can use permission sets. However, we cannot find ...
2
votes
2answers
89 views

Can the Context User on an Email Service be an API-Only User?

The title kind of says it all: Can the Context User on an Email Service be an API-Only User? I found this note in the online documentation: Set Context User – this specifies the context under ...
3
votes
2answers
176 views

How do you Apex Unit Test Object(CRUD)/Field(FLS) Permissions in an Org Portable manner?

Specifically, how might one get an org portable Apex Unit Test User that DOES NOT have READ access to Accounts? Creating a Test Permission Set that DOES NOT have READ access to ACCOUNTS and assigning ...
5
votes
5answers
146 views

App disappears from Permission Set included with package

We're working on our first Salesforce package, and recently switched from creating Beta packages to a Managed Package. For some reason, the permission set that we're pushing loses the entry in ...
3
votes
2answers
240 views

Allow record editing when custom field is checked

I'm fairly new to Salesforce. I'm trying to set up some of our rules and functionality in Salesforce and I was wondering if there is a way (or which is the better one) to restrict a user to edit a ...
2
votes
2answers
251 views

Customizing visualforce permission error message

We are using an appexchange app that consists of a visualforce inline page. This visualforce page connects to a third-party API and displays some information on a record detail page. The licensing ...
7
votes
5answers
500 views

Visualforce exception page authentication

For sites, there's a standard visualforce exception page. We use a header on the site that will present either Welcome, username Or Login/register ...based on login status. Whenever a user finds ...
2
votes
2answers
102 views

Chatter Group security permissions

Salesforce seems to lack a security model around a records and their children as it pertains to Chatter groups (Salesforce user groups have one). Chatter groups can't own sObjects that secures them ...
2
votes
2answers
76 views

Can I enable my users to customize their home page tab?

AFAIK, users can only use HomePage Layouts that I create for them, or only change the Dashboard that they see. That's assuming they do not have the Customize application permission. Assuming I don't ...
2
votes
2answers
131 views

How do you change profile level security permissions on an app after it's been installed?

I recently had an app that had been installed a while ago. In the mean time we had created a new profile type which, since it hadn't existed when the app was first installed, didn't have permissions ...