Questions tagged [permissions]

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.

Filter by
Sorted by
Tagged with
1
vote
2answers
2k views

Permissionset issue in Apex

When I try to look for a permission set associated with a particular user in a controller class, I am seeing a permissionset with name X00ed0000000TTlfAAG and ID 0PSd0000000XJ15 related to the user. (...
0
votes
0answers
144 views

Alternatives to Accessing Question.CreatedBy.CommunityNickname in Customer Portal

I have a VF page in the customer portal that shows information about a question and it's replies. However, I'm having difficulties showing user's community nicknames. I understand that there's a ...
1
vote
1answer
753 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
791 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
902 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
171 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?
5
votes
2answers
123 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 ...
4
votes
1answer
260 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? ...
2
votes
1answer
65 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
368 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 ...
3
votes
2answers
2k 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 ...
3
votes
2answers
402 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 ...
6
votes
2answers
5k 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
1k 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. ...
3
votes
2answers
2k 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 ...
0
votes
2answers
677 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 ...
11
votes
2answers
2k 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 ...
1
vote
1answer
898 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" value="/002/e?parent_id={!contact.Id}&retURL=/{!...
3
votes
1answer
2k 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 ...
31
votes
2answers
16k 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 ...
2
votes
2answers
2k 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 ...
10
votes
1answer
2k 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 ...
3
votes
2answers
6k 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 ...
1
vote
1answer
113 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
1k 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 ...
0
votes
3answers
3k 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 set ...
0
votes
2answers
5k 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
967 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 ...
8
votes
5answers
2k 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 ...
3
votes
2answers
3k 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
691 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 ...
6
votes
2answers
3k 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 ...