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

Import Team Member with Elevated Permissions #149

Closed
safaci2000 opened this issue Apr 12, 2023 · 2 comments · Fixed by #182
Closed

Import Team Member with Elevated Permissions #149

safaci2000 opened this issue Apr 12, 2023 · 2 comments · Fixed by #182
Milestone

Comments

@safaci2000
Copy link
Contributor

Team members are imported but cannot be elevated to admin access.

Need to figure out what API would be needed to support this particular use case.

Related: #118

@safaci2000
Copy link
Contributor Author

Found the API but it seems very inefficient. One HTTP call to add a a member and another one to add permissions.

Add Member: POST team/{team_id}/members
Grant Admin: PUT teams/{team_id}/members/{user_id}

{
  "permission": 4
}

@safaci2000 safaci2000 added this to the 0.4.4 milestone Apr 14, 2023
@safaci2000
Copy link
Contributor Author

This is currently blocked. Waiting on a response: https://community.grafana.com/t/api-for-granting-team-member-admin-permission/86456

@safaci2000 safaci2000 modified the milestones: 0.4.5, 0.4.6 Jul 14, 2023
safaci2000 added a commit that referenced this issue Aug 11, 2023
ChangeLog:
  - Add support for admin team members.

Fixes #149
safaci2000 added a commit that referenced this issue Aug 11, 2023
ChangeLog:
  - Add support for admin team members.

Fixes #149
safaci2000 added a commit that referenced this issue Aug 11, 2023
ChangeLog:
  - Add support for admin team members.

Fixes #149
safaci2000 added a commit that referenced this issue Aug 14, 2023
ChangeLog:
  - Add support for admin team members.

Fixes #149
safaci2000 added a commit that referenced this issue Aug 14, 2023
ChangeLog:
  - Add support for admin team members.

Fixes #149
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant