Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Import Functionality Disabled When "Content Search" Tool is Hidden for Specific Roles #31509

Open
Neehakethi opened this issue Feb 27, 2025 · 0 comments

Comments

@Neehakethi
Copy link
Contributor

Parent Issue

No response

Problem Statement

We encountering an issue where the "Content Search" tool needs to be removed from the sidebar for specific roles. However, when we uncheck the "Content Search" tool, the ability to import content is also removed.

The import functionality throws an error when the "Content Search" tool is unchecked, as it seems that the "Content Search Portlet" (responsible for the import functionality) is currently only available within the "Content Search" tool.

I have created a custom tool pointing to a content type with all the necessary permissions, but the import functionality is still linked to the "Content Search" tool. Here are the points I need clarification on:

Users should still be able to import content using the custom tool.
The "Content Search" tool should be hidden from the sidebar for specific roles.

Steps to Reproduce

Create a custom tool pointing to a content type with appropriate permissions.
Uncheck the "Content Search" tool for a specific role.
Attempt to use the import functionality (which is linked to the "Content Search Portlet").
The error occurs, and the import functionality is disabled.

Adding a video from my testing

Screen.Recording.2025-02-27.at.12.27.17.PM.mov

Acceptance Criteria

Users should be able to import content while the "Content Search" tool is hidden from the sidebar for certain roles.

dotCMS Version

24.04 and previous versions too.
It seems to be a long-standing issue

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.freshdesk.com/a/tickets/29680

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

Having the Search portlet added to any tool, shouldn’t be an issue since it will only list the content types/content that the user has permissions

Sub-Tasks & Estimates

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

2 participants