Skip to content

Commit

Permalink
Add getEntriesData endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanenkoxx committed Dec 28, 2024
1 parent 6f3ce39 commit 94088c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const checkFolderEntriesPermissions = async ({
}> => {
const {dlsEnabled} = ctx.config;

if (!dlsEnabled) {
if (entries.length === 0 || !dlsEnabled) {
return {
permittedFolderEntries: entries,
accessDeniedFolderEntryIds: [],
Expand Down
1 change: 1 addition & 0 deletions src/tests/int/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ export const routes = {
rootCollectionPermissions: '/v1/root-collection-permissions',
workbooks: '/v2/workbooks',
privateWorkbooks: '/private/v2/workbooks',
getEntriesData: '/v1/get-entries-data',
} as const;

0 comments on commit 94088c2

Please sign in to comment.