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

UPSE-387: Update portlets.json REST endpoint to allow filtering by user's portlet permission and favorite/unfavorite #2689

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

groybal
Copy link
Contributor

@groybal groybal commented Aug 4, 2023

Checklist
Description of change

This PR updates the api/portlets.json REST endpoint to optionally allow two new parameters:

  • "requiredPermissionType": restricts the results to portlets for which the user has the specified permission; if not provided, then defaults to MANAGE
  • "favorite": when true, limits results to those that have been favorited by the user; when false, limits the results to those that have not been favorited

Copy link
Member

@bjagg bjagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🏆

@bjagg
Copy link
Member

bjagg commented Aug 4, 2023

Minor pt: rename this PR please

…er's portlet permission and favorite/unfavorite
@groybal groybal changed the title work-in-progress UPSE-387: Update portlets.json REST endpoint to allow filtering by user's portlet permission and favorite/unfavorite Aug 4, 2023
@groybal
Copy link
Contributor Author

groybal commented Aug 4, 2023

Minor pt: rename this PR please

done

@groybal groybal closed this Aug 4, 2023
@groybal groybal reopened this Aug 4, 2023
@groybal groybal marked this pull request as ready for review August 4, 2023 20:59
@bjagg bjagg merged commit 7bbe7db into uPortal-Project:master Aug 4, 2023
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants