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
8
votes
3answers
3k views

Programmatically check a user access level to a record

I have a strange behavior on my org. The user's profile have no "Delete" permissions for the custom object, only "Read / Create / Edit". So he can not delete any record from this object. But when i ...
4
votes
1answer
8k views

email template security

Can we secure email templates to restrict usage within an organization? We have a couple of email templates that we want to make available to only a couple of people in the organization and wondering ...
3
votes
1answer
1k views

Very Odd Related List Behavior

I have a very odd issue that I think must just be due to some interface setting that I am overlooking, but for the life of me I can't figure it out. I have two users in an org, they both have the ...
3
votes
2answers
231 views

Permissions to have a token?

I know how to reset my token once i have it, and how to navigate to it. What I can't find is what permissions/lack of restrictions do I need on my profile to allow me to have a token? is it a lack ...
9
votes
1answer
16k views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: [] on opportunity

I have created an object named as "Component" which has Master-Detail Relationship with Opportunity Object. On Opportunity we have a button says "Create Component", when user clicks on it it takes ...
5
votes
1answer
7k views

Permission for internal users to manage external users

I am trying to allow people in support to provision new customer portal users (We haven't switched to communities yet). When I go to the contact record I see the 'Manage External User' button, but ...
1
vote
0answers
926 views

Force.com Site & Public Calendar

I am trying to expose Salesforce Public Calendar on to Force.com Site. I performed the below: [1] Updated the Public Calendar Sharing Settings to include "Salesforce Calendar Site Guest User". [2] ...
1
vote
2answers
745 views

ActionSupport rerender causes insufficient privileges error

I'm trying to create a dependent picklist of objects and fields. I present a list of objects to the user, and depending on the object they select, I show the object's String fields in the second ...
3
votes
1answer
3k views

Error: The Connect API is not enabled for this user type

I am working on creating a Force.com site and I have a VF page which displays fields from a custom object record and also displays its Chatter feed. I achieved displaying the Chatter feed using the ...
0
votes
2answers
3k views

What does the Report builder profile permission control in SFDC?

What does the Report builder profile permission control? If i have this permission unchecked and the create and customize permission set, i am still able to use the report builder. If i have the ...
3
votes
2answers
472 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 ...
3
votes
2answers
154 views

Cannot stop PE orgs seeing tabs

Please note that question refers specifically to PE orgs and not those with profile settings (DE/UE/EE etc..). I have been testing with managed beta packages. I have an app defined that has a set of ...
5
votes
2answers
2k views

Managed Package Permission Set & Professional Edition

Why does Professional Edition allow viewing Managed Package Permission Sets & assigning them to Users? Are there any Permissions that can be set in a Permission Set that affect a User's ...
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
145 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
754 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
802 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
904 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
172 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
370 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
678 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
900 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
17k 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
971 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
693 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 ...