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

Add a way to bulk Reset Permissions #28579

Closed
erickgonzalez opened this issue May 15, 2024 · 5 comments · Fixed by #30352
Closed

Add a way to bulk Reset Permissions #28579

erickgonzalez opened this issue May 15, 2024 · 5 comments · Fixed by #30352

Comments

@erickgonzalez
Copy link
Contributor

Parent Issue

No response

User Story

The customer has a requirement to reset permissions for over 2500 contentlets. At present, the only method available is to manually click the "RESET PERMISSION" button on each contentlet.

Acceptance Criteria

Create an endpoint that accepts a Lucene query or a list of contentlets ids to reset permissions.

Proposed Objective

Customer Support

Proposed Priority

Priority 3 - Average

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

https://dotcms.zendesk.com/agent/tickets/116065

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Aug 14, 2024
@erickgonzalez erickgonzalez moved this from Future to Current Sprint Backlog in dotCMS - Product Planning Sep 17, 2024
@gortiz-dotcms gortiz-dotcms self-assigned this Sep 20, 2024
@erickgonzalez
Copy link
Contributor Author

erickgonzalez commented Sep 24, 2024

Let's consider the following:

  • A new workflow sub-action to reset permissions.
  • This sub-action does not get any parameter, and it will reset the permissions of the selected contents.
  • Check user permissions.

@jdotcms
Copy link
Contributor

jdotcms commented Sep 24, 2024

do you think you can create an actionlet that does this?
if you could you can call the merge which is already batch approach and call this specific reset permissions action

@dsolistorres
Copy link
Contributor

Internal QA approved

  • After applying the Reset Permissions workflow action to multiple contents, the permissions are reset for the selected contentlets. The action is only applied on the contentlets where the user is able to edit/reset permissions.

Content before applying Reset Permissions workflow action on the selected items
before-reset-permissions

Content after applying Reset Permissions workflow action on the selected items
after-reset-permissions

@dsolistorres dsolistorres moved this from Internal QA to QA - Backlog in dotCMS - Product Planning Oct 23, 2024
@bryanboza
Copy link
Member

Fixed, tested on main // Docker // FF

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

Successfully merging a pull request may close this issue.

5 participants