You need to sign in to do that
Don't have an account?
Andrew Steele
Read Access Denied For Visual Force Page
I'm trying to display a table of object permissions. However, when I try to connect my controller with my visualforce page, I'm am receiving a "Read access denied for PermissionSet."
public List customobjectperm{get;set;}
customobjectperm = [SELECT Label, Profile.Name, ProfileId, (SELECT SobjectType, PermissionsEdit FROM ObjectPerms WHERE SObjectType = 'qbdialer__DialerQuery__c'), (SELECT SobjectType, Field, PermissionsRead FROM FieldPerms WHERE SObjectType = 'qbdialer__DialerQuery__c') QFROM PermissionSet WHERE ProfileId = :userId LIMIT 1];
<apex:pageBlockTable value="{!customobjectperm}" var="objectPer" headerClass="permTable">
<apex:column value="{!objectPer.Name}"/>
</apex:pageBlockTable>
Has anyone had this problem or know whats going on here?
Thanks
public List customobjectperm{get;set;}
customobjectperm = [SELECT Label, Profile.Name, ProfileId, (SELECT SobjectType, PermissionsEdit FROM ObjectPerms WHERE SObjectType = 'qbdialer__DialerQuery__c'), (SELECT SobjectType, Field, PermissionsRead FROM FieldPerms WHERE SObjectType = 'qbdialer__DialerQuery__c') QFROM PermissionSet WHERE ProfileId = :userId LIMIT 1];
<apex:pageBlockTable value="{!customobjectperm}" var="objectPer" headerClass="permTable">
<apex:column value="{!objectPer.Name}"/>
</apex:pageBlockTable>
Has anyone had this problem or know whats going on here?
Thanks
hope its help!!!