I get a access denied trying to open users data import view. The logged on user does not have appropriate security permissions to view these records.
I have done some testing and have narrowed it down please help me figure out how to add this privlidge back into the security role.
So I did a crm trace of the error and here is what I found.
>Checking Privilege for UserId: {764A3F31-8A9C-E211-946A-001B78BD2A3C}, PrivilegeId: {FE46D775-CA5C-4A09-AF93-99A133455306}. Returned hr = -2147220960
[2013-12-12 15:08:30.1] Process: w3wp |Organization:38aa32de-96d3-df11-9d52-001b78bd2a3c |Thread: 14 |Category: Exception |User: 048b6136-98d3-df11-9d52-001b78bd2a3c |Level: Error | CrmException..ctor
at CrmException..ctor(String message, Int32 errorCode)
at CrmSecurityException..ctor(String message, Int32 errorCode)
at SecurityLibrary.CheckPrivilege(Guid user, Guid privilege, ExecutionContext context)
at DefaultSecuritySqlGenerator.CheckPrivilege(Guid user, Guid organizationId, EntityMetadata entityMetadata, ExecutionContext context)
at DefaultSecuritySqlGenerator.CreateSecuritySqlForRetrieveMultipleHelper(Guid user, EntityMetadata entityMetadata, FilterExpression criteriaNodeForSecurityFilter, ExecutionContext context, Boolean noLock)
at DefaultSecuritySqlGenerator.CreateSecuritySqlForRetrieveMultiple(Guid user, EntityMetadata entityMetadata, FilterExpression criteriaNodeForSecurityFilter, ExecutionContext context, Boolean noLock)
at SecurityExtension.AddSecuritySql(Guid user, LinkEntityExpression linkEntityExpression, ExecutionContext context, Boolean noLock)
at SecurityExtension.AddSecuritySqlLinkedEntities(Guid user, LinkEntityExpressionCollection linkedEntities, ExecutionContext context, Boolean noLock)
at SecurityExtension.AddSecuritySql(Guid user, EntityExpression entityExpression, ExecutionContext context)
at SecurityExtension.PreRetrieveMultipleHandler(ExtensionEventArgs e)
I then went to SQL studio manager and ran a query for the privilidge id too see what it is looking for and here is what I found
