-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Component/s: Headless Delivery API
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Epic Link:
-
Git Pull Request:
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
- 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
-
- links to