Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
7.2.x, 7.1.x, 7.0.x
-
Committed
Description
As an app developer
I want Liferay APIs to inform me about the actions that a user is allowed to
so that I show in the UI only the actions permitted, providing a better user experience
Acceptance criteria
Given a user with a role to just view structured content
When the user makes a call to http://localhost:8080/o/headless-delivery/v1.0/sites/\{siteId}/structured-contents
Then the server will return together with the data of the structured contents created, a block named "actions" with just "GET" statements
Given a user with a role with permissions to create, update, delete, view, subscribe structured content
When the user makes a call to http://localhost:8080/o/headless-delivery/v1.0/sites/\{siteId}/structured-contents
Then the server will return together with the data of the structured contents created, a block named "actions" with all the actions allowed
Given a user with a role with different permissions for structured content or blogs or documents, etc
When the user makes calls to the API
Then the server will return together with the data of the corresponding endpoints blocks named "actions" with all the actions she can perform
Attachments
Issue Links
- causes
-
LPS-115508 Wrong order of parameter in TaxonomyCategoryResourceImpl
- Closed
- relates
-
LPS-111229 Add automated tests to validate actions that a user can perform on each resource
-
- Closed
-
-
LPS-161674 Automation Test Creation | LPS-102573 Expose actions a user can perform for each element
-
- Closed
-
- links to