Browse Source

BugFix: applyGrant method

Yuki Takei 7 năm trước cách đây
mục cha
commit
cc65ca40de
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/server/models/page.js

+ 2 - 0
src/server/models/page.js

@@ -850,6 +850,8 @@ module.exports = function(crowi) {
       if (count === 0) {
         throw new Error('no relations were exist for group and user.');
       }
+
+      page.grantedGroup = grantUserGroupId;
     }
   }