define(function(require) {
    'use strict';

    var WorkflowActionPermissionsRowView;
    var _ = require('underscore');
    var mediator = require('oroui/js/mediator');
    var ActionPermissionsRowView = require('orouser/js/datagrid/action-permissions-row-view');
    var FieldView = require('./workflow-action-permissions-field-view');

    WorkflowActionPermissionsRowView = ActionPermissionsRowView.extend({
        fieldItemView: FieldView,
        onAccessLevelChange: function(model) {
            // override to prevent marking 'Entity' permissions grid tabs as changed
            mediator.trigger('securityAccessLevelsComponent:link:click', {
                accessLevel: model.get('access_level'),
                identityId: model.get('identity'),
                permissionName: model.get('name')
            });
        }
    });

    return WorkflowActionPermissionsRowView;
});

define(function(require) {
    'use strict';

    var WorkflowActionPermissionsRowView;
    var mediator = require('oroui/js/mediator');
    var ActionPermissionsRowView = require('orouser/js/datagrid/action-permissions-row-view');
    var FieldView = require('./workflow-action-permissions-field-view');

    WorkflowActionPermissionsRowView = ActionPermissionsRowView.extend({
        fieldItemView: FieldView,
        onAccessLevelChange: function(model) {
            // override to prevent marking 'Entity' permissions grid tabs as changed
            mediator.trigger('securityAccessLevelsComponent:link:click', {
                accessLevel: model.get('access_level'),
                identityId: model.get('identity'),
                permissionName: model.get('name')
            });
        }
    });

    return WorkflowActionPermissionsRowView;
});

Fix fields ACL JS component to support access_level_route parameter - fix CS
BB-5745: Fix fields ACL JS component to support access_level_route parameter
- fix CS
