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
How to get the group_id which has permission for the item_id? #1016
Comments
Vaishnavi21721
changed the title
How to get the group_id wwhihc has permission for the item_id
How to get the group_id wwhihc has permission for the item_id?
Oct 10, 2023
This is not implemented but very easy to achieve. You can send a PR with the changes to get this Id. |
@janscas I have raised the PR |
Vaishnavi21721
changed the title
How to get the group_id wwhihc has permission for the item_id?
How to get the group_id which has permission for the item_id?
Oct 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the class DriveItemPermission the variable granted_to only has the display_name value. I want to access the id also . how culd I do?
self.granted_to = granted_to.get('user', {}).get(
self._cc('displayName')) or granted_to.get('application', {}).get(
self._cc('displayName'))
self.share_id = cloud_data.get(self._cc('shareId'), None)
The text was updated successfully, but these errors were encountered: