Futa Arai %!s(int64=2) %!d(string=hai) anos
pai
achega
9cb143228b

+ 2 - 0
apps/app/src/client/services/create-page/use-create-page-and-transit.tsx

@@ -60,6 +60,8 @@ export const useCreatePageAndTransit: UseCreatePageAndTransit = () => {
       onCreationStart, onCreated, onAborted, onTerminated,
       onCreationStart, onCreated, onAborted, onTerminated,
     } = opts;
     } = opts;
 
 
+    // If parent page is granted to non-user-related groups, let the user select whether or not to inherit them.
+    // Once selected, the request with same params(+ onlyInheritUserRelatedGrantedGroups) and opts will be sent here.
     if (params.parentPath != null && params?.onlyInheritUserRelatedGrantedGroups == null) {
     if (params.parentPath != null && params?.onlyInheritUserRelatedGrantedGroups == null) {
       try {
       try {
         const { isNonUserRelatedGroupsGranted } = await nonUserRelatedGroupsGranted(params.parentPath);
         const { isNonUserRelatedGroupsGranted } = await nonUserRelatedGroupsGranted(params.parentPath);