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

API calling api/public/groups broken field. #852

Open
alexacallmebaka opened this issue Aug 6, 2020 · 1 comment
Open

API calling api/public/groups broken field. #852

alexacallmebaka opened this issue Aug 6, 2020 · 1 comment

Comments

@alexacallmebaka
Copy link

@alexacallmebaka alexacallmebaka commented Aug 6, 2020

Whenever I submit a GET request to the api/public/groups endpoint, the "collections" field for each group returns "None" on every group, even if they have access to collections. I can verify that these groups have access to collections by sending a GET request to the api/public/collections endpoint as the "groups" field returns as expected on each collection. I have tried to make this request with both the Python requests module as well as Postman. I am making calls to a self-hosted Bitwarden instance.

@alexacallmebaka alexacallmebaka changed the title API calling /public/groups broken field. API calling api/public/groups broken field. Aug 6, 2020
@cscharf
Copy link
Contributor

@cscharf cscharf commented Aug 7, 2020

Thanks @alexacallmebaka , looks like you found a "todo" in our public API implementation, https://github.com/bitwarden/server/blob/master/src/Api/Public/Controllers/GroupsController.cs#L90

We'll get this on our backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.