locked
CRM Security Model - Exception RRS feed

  • Question

  • Hi,

    I have trouble in CRM 2013 with seurity model.

    I have custom entity record owned by Team. Team has security role with Create, Read permissions - user level for custom entity. User has security role with write permission - user level. When I open the form, there is error:

    SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 74c5a54b-6be7-e311-93f4-0050568c3115, OwnerId: 89ad851f-06e7-e311-93f3-0050568c3115,  OwnerIdType: 9 and CallingUser: 02e211f3-3fdb-e311-93f3-0050568c3115. ObjectTypeCode: 10007, objectBusinessUnitId: c2793914-06e7-e311-93f3-0050568c3115, AccessRights: WriteAccess Detail:

    ObjectID: 74c5a54b-6be7-e311-93f4-0050568c3115, OwnerId: 89ad851f-06e7-e311-93f3-0050568c3115,  OwnerIdType: 9 and CallingUser: 02e211f3-3fdb-e311-93f3-0050568c3115. ObjectTypeCode: 10007, objectBusinessUnitId: c2793914-06e7-e311-93f3-0050568c3115, AccessRights: WriteAccess </Message>

    I have write permission for user because I share records over access team. It is customer requirement, that only privileged users can write records, but everyone can create records.

    Why CRM checks write permission before save?

    I think that there is problem with business process flow. When I disable it there is no error.
    Sunday, June 1, 2014 10:06 PM