Skip to content

Commit

Permalink
fix user teams load error
Browse files Browse the repository at this point in the history
  • Loading branch information
yurikuzn committed Aug 8, 2017
1 parent 771e323 commit ec23cae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/views/user/fields/teams.js
Expand Up @@ -60,6 +60,8 @@ Espo.define('views/user/fields/teams', 'views/fields/link-multiple-with-role', f
},

loadRoleList: function (callback, context) {
if (!this.getAcl().checkScope('Team', 'read')) return;

var ids = this.ids || [];
if (ids.length == 0) return;

Expand Down

0 comments on commit ec23cae

Please sign in to comment.