The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [roles]

Roles determine user access to cases, contacts, and opportunities, regardless of who owns those records.

Filter by
Sorted by
Tagged with
4
votes
2answers
401 views

Mixed DML operation error [duplicate]

I am facing Mixed DML error in the following case: static testmethod void method1() { User u1 = DataFactory.createUser('testUser','test@user.com','permissionSetAPIname'); Obj1 rec1 = ...
13
votes
2answers
7k views

Communities Sharing Rules with Partner level access

So Im a little confused about the best way to share content within a salesforce community. We have a number of custom objects with content owned by community members, and our hope is to create "...
3
votes
1answer
275 views

Contact last-modified date changed by read-only user

Have a number of read only users, that appear to all be setup the same way, though one of the users is somehow being logged as the user for the last-modified date on the contact. Again, checked the ...
0
votes
1answer
283 views

Error: Insufficient Privileges while querying User or UserRole in a standard user context

I am running a couple of SOQL queriesthrough a Visualforce page. The queries simply look like: [SELECT Id, Name, UserRoleId FROM User WHERE Id = :UserInfo.getUserId()] [SELECT Id, Name, ParentRoleId ...