- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Problem:
========
I have set our Sr. Accountant up with the Zuora permission sets and licenses in Salesforce but he's still unable to access the Quotes.
He has the same Profile and Permission Sets as I do and I have access to the Zuora quotes so I'm wondering why this is happening.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Solution:
=======
Following salesforce article documents how to find out what all permission sets a user belong to.
Based on reviewing this article, I ran the following queries
1)
SELECT Id, SObjectType, PermissionsRead, Parent.label, Parent.IsOwnedByProfile
FROM ObjectPermissions
WHERE (ParentId
IN (SELECT PermissionSetId
FROM PermissionSetAssignment
WHERE Assignee.Name = '<Fullname of the user>'))
AND
(PermissionsRead = true)
AND
(SobjectType = 'zqu__Quote__c')
I see for ZQuote Object, this specific user has Parent.IsOwnedByProfile set to false for permission set Zuora Quote end user
2) I then ran the following query:
SELECT PermissionSetId
FROM PermissionSetAssignment
WHERE Assignee.Name = '<Fullname of the user>'
I see this user belongs to multiple permission set.
After removing the user from all permission sets except for Zuora Quote End User permission set, the problem was resolved.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Email to a Friend
- Report Inappropriate Content
Solution:
=======
Following salesforce article documents how to find out what all permission sets a user belong to.
Based on reviewing this article, I ran the following queries
1)
SELECT Id, SObjectType, PermissionsRead, Parent.label, Parent.IsOwnedByProfile
FROM ObjectPermissions
WHERE (ParentId
IN (SELECT PermissionSetId
FROM PermissionSetAssignment
WHERE Assignee.Name = '<Fullname of the user>'))
AND
(PermissionsRead = true)
AND
(SobjectType = 'zqu__Quote__c')
I see for ZQuote Object, this specific user has Parent.IsOwnedByProfile set to false for permission set Zuora Quote end user
2) I then ran the following query:
SELECT PermissionSetId
FROM PermissionSetAssignment
WHERE Assignee.Name = '<Fullname of the user>'
I see this user belongs to multiple permission set.
After removing the user from all permission sets except for Zuora Quote End User permission set, the problem was resolved.
If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √