Kaynağa Gözat

Improved comments

Taichi Masuyama 4 yıl önce
ebeveyn
işleme
2086696784

+ 6 - 2
packages/app/src/server/service/page-grant.ts

@@ -137,6 +137,10 @@ class PageGrantService {
     return true;
     return true;
   }
   }
 
 
+  /**
+   * Prepare ComparableTarget
+   * @returns Promise<ComparableAncestor>
+   */
   private async generateComparableTarget(
   private async generateComparableTarget(
       grant, grantedUserIds: ObjectId[], grantedGroupId: ObjectId, includeApplicable: boolean,
       grant, grantedUserIds: ObjectId[], grantedGroupId: ObjectId, includeApplicable: boolean,
   ): Promise<ComparableTarget> {
   ): Promise<ComparableTarget> {
@@ -161,7 +165,7 @@ class PageGrantService {
   }
   }
 
 
   /**
   /**
-   * WIP
+   * Prepare ComparableAncestor
    * @param targetPath string of the target path
    * @param targetPath string of the target path
    * @returns Promise<ComparableAncestor>
    * @returns Promise<ComparableAncestor>
    */
    */
@@ -203,7 +207,7 @@ class PageGrantService {
   }
   }
 
 
   /**
   /**
-   * WIP
+   * Prepare ComparableDescendants
    * @param targetPath string of the target path
    * @param targetPath string of the target path
    * @returns ComparableDescendants
    * @returns ComparableDescendants
    */
    */