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
Update WorkflowAPI to accept a list of permissions with a content submission #22418
Comments
* #22418 adding permissions to workflow api * #22418 adding fixes to make it work * #22418 adding changes to reset the permissions before add new ones * #22418 adding the search roles * #22418 adding doc examples * #22418 adding search role by key * #22418 adding doc * #22418 adding more changes * #22418 adding more changes * Progress on Dot-Favorite-Page dialog * #22357 migrate dot-favorite-page to core-web dir * #22418 having an experiment for doc with swagger * #22418 just adding swagger and more consistence output * Created webcomponent dot-html-to-image * #22418 Setting isAdmin property to map * #22357 dot-favorite-page shows/hides SHARE WITH field based on admin role * #22418 fixing an issue with response entity view * FE code clean up and little improvements * FE fix broken unit tests * FE - added unit tests * FE - Added dot-html-to-image webcomponent test * FE - added gitignore path to webcomponent tests report * FE - fix broken unit test * FE - hide Star icon to activate Add Favorite Page * FE - feedback dot-favorite-page * FE - dot-alert styles z-index not needed anymore * FE - Added component store in dot-favorite-page * FE - PR feedback * FE - PR feedback * FE - fix ESLint issues * FE - add remove eventlistener to avoid memory leaks Co-authored-by: Alfredo Li <alfredo@dotcms.com> Co-authored-by: nollymar <nollymarlonga@Nollymars-MacBook-Pro-2.local>
|
Internal QA: Needs work. I found some details using System Workflow and this endpoint
but the Save action doesn't:
Question: What CAN_ADD_CHILDREN is supposed to do? I only noticed that it locks the role. Is it expected? Room for improvement:
and then: The WRITE permission is wiped out. I think the WRITE should be ignored unless I set
|
|
Good QA Just to mention: the save works, but the save draft do not. |
|
Fixed, some things failing here, but the pending work was moved to new card #22993 |

wezell commentedJun 15, 2022
If a user wants to post a new piece of content and permission it individually at the time of saving, they should be able to pass a Map<String,List> of permissions and the roles that have them, e.g.
The text was updated successfully, but these errors were encountered: