Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add X-Conch-Role header to responses for single entities #957

Open
karenetheridge opened this issue Nov 22, 2019 · 0 comments
Open

Add X-Conch-Role header to responses for single entities #957

karenetheridge opened this issue Nov 22, 2019 · 0 comments
Labels
blocked blocked on something else being deployed first enhancement extends current functionality maybe v3.next features, big changes for api v3.<next>

Comments

@karenetheridge
Copy link
Contributor

Adding the X-Conch-Role: <ro|rw|admin> header to responses for requests for single entities can let the client decide if it should invite the user to edit that entity.

Easily done with a new resultset method get_user_role, but this shouldn't be implemented until workspaces are removed from the equation, as role-based queries will become much simpler/faster then.

@karenetheridge karenetheridge added enhancement extends current functionality v3.next features, big changes for api v3.<next> blocked blocked on something else being deployed first labels Nov 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked blocked on something else being deployed first enhancement extends current functionality maybe v3.next features, big changes for api v3.<next>
Projects
None yet
Development

No branches or pull requests

1 participant