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

Add scopes to group API resources #939

Closed
lyzadanger opened this issue Jan 30, 2019 · 0 comments
Closed

Add scopes to group API resources #939

lyzadanger opened this issue Jan 30, 2019 · 0 comments
Labels
API project: community groups Restricted and open groups that allow annotations outside of their scopes, plus UX improvements

Comments

@lyzadanger
Copy link

Needed for #865

As part of the group-selector changes and community groups work, we'll be returning groups from the API that a user is a member of, but that may or may not be "active" on a current document URI based on their scope restrictions.

We need to be able to give the client hints about what the valid scopes for certain groups are so that it can a) determine whether a current group is in scope or not and possibly b) render information about scope to users (I'm glossing over some nuance and UX here).

It may make sense to use the existing pattern of an expand parameter for this (allow clients to determine how much granularity they get back for scope information).

@lyzadanger lyzadanger added API project: community groups Restricted and open groups that allow annotations outside of their scopes, plus UX improvements labels Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API project: community groups Restricted and open groups that allow annotations outside of their scopes, plus UX improvements
Projects
None yet
Development

No branches or pull requests

1 participant