Function isOwnPermissionRespectedForAllElements

  • JMap.Form.isOwnPermissionRespectedForAllElements

    Returns true if all given elements respect edit own permission.

    Works only for attribute form elements, edit own permission are not supported for external or sub forms.

    Parameters

    Returns boolean

    Example

    const formElements = ... // get attribute form elements
    // returns true if all elements respect edit own permission
    JMap.Form.isOwnPermissionRespectedForAllElements(3, elements)