Explorar o código

BugFix: applyGrant method

Yuki Takei %!s(int64=7) %!d(string=hai) anos
pai
achega
cc65ca40de
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;
     }
   }