Ver Fonte

BugFix: applyGrant method

Yuki Takei há 7 anos atrás
pai
commit
cc65ca40de
1 ficheiros alterados com 2 adições e 0 exclusões
  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;
     }
   }