Details
-
Story
-
Resolution: Unresolved
-
High
-
None
-
None
Description
REST API for permission lookup in the public PHP API
Workshop notes: https://docs.google.com/document/d/10H8Z3kOKSJmovnfNVR-j8Z41jtrFoKQk3Qc0TqH0-ZA/edit#heading=h.jkrw4436749a
Use case: Toggle UI elements depending on user permissions. What is needed is
- PHP Repository API possibility to do reverse lookup on permissions: https://jira.ez.no/browse/EZP-26000
- Extend REST to add permissions info in response, this should vary by user hash (this story)
- Expose/use this info in REST client(s)
- Use this info in UI to toggle buttons / actions