Class PermissionUtil

    • Method Detail

      • getParentPathOrNull

        @Nullable
        public static @Nullable String getParentPathOrNull​(@NotNull
                                                           @NotNull String path)
      • getEntryName

        @NotNull
        public static @NotNull String getEntryName​(@Nullable
                                                   @Nullable String accessControlledPath)
      • checkACLPath

        public static boolean checkACLPath​(@NotNull
                                           @NotNull NodeBuilder node,
                                           @NotNull
                                           @NotNull String path)
      • checkACLPath

        public static boolean checkACLPath​(@NotNull
                                           @NotNull Tree node,
                                           @NotNull
                                           @NotNull String path)
      • getPermissionsRoot

        @NotNull
        public static @NotNull Tree getPermissionsRoot​(@NotNull
                                                       @NotNull Root root,
                                                       @NotNull
                                                       @NotNull String permissionRootName)
      • getPrincipalRoot

        @NotNull
        public static @NotNull Tree getPrincipalRoot​(@NotNull
                                                     @NotNull Tree permissionsTree,
                                                     @NotNull
                                                     @NotNull String principalName)
      • getPath

        @Nullable
        public static @Nullable String getPath​(@Nullable
                                               @Nullable Tree parentBefore,
                                               @Nullable
                                               @Nullable Tree parentAfter)
      • getReadOnlyTreeOrNull

        @Nullable
        public static @Nullable Tree getReadOnlyTreeOrNull​(@Nullable
                                                           @Nullable Tree tree,
                                                           @NotNull
                                                           @NotNull Root readOnlyRoot)
      • getReadOnlyTree

        @NotNull
        public static @NotNull Tree getReadOnlyTree​(@NotNull
                                                    @NotNull Tree tree,
                                                    @NotNull
                                                    @NotNull Root readOnlyRoot)