Taichi Masuyama 3 лет назад
Родитель
Сommit
81312ef3fe
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      packages/app/src/server/service/page-grant.ts

+ 4 - 0
packages/app/src/server/service/page-grant.ts

@@ -36,6 +36,10 @@ type ComparableDescendants = {
   grantedGroupIds: ObjectIdLike[],
 };
 
+/**
+ * @param grantedUserGroupInfo This parameter has info to calculate whether the update operation is allowed.
+ *   - See the `calcCanOverwriteDescendants` private method for detail.
+ */
 type UpdateGrantInfo = {
   grant: typeof PageGrant.GRANT_PUBLIC,
 } | {