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

How to give "Admin Service Accounts" permissions to create portfolios #1050

Closed
IrinaSouth opened this issue Aug 22, 2023 Discussed in #1049 · 0 comments
Closed

How to give "Admin Service Accounts" permissions to create portfolios #1050

IrinaSouth opened this issue Aug 22, 2023 Discussed in #1049 · 0 comments
Assignees

Comments

@IrinaSouth
Copy link
Contributor

Discussed in #1049

Originally posted by robertmarsal August 21, 2023
After creating an "Admin Service Account" I can't create a portfolio and receive a "403 Forbidden" error. I can't find a way to give access to this functionality to an admin service account although the documentation suggests this should be possible: https://docs.featurehub.io/featurehub/latest/admin-development-kit.html#_create_portfolio

Any guidance on how to achieve this? I would like to create an Admin API key that gives me access to all features to be able to manage the application completely via the API including creating portfolios, apps, features, etc.

Example HTTP call:

POST http://localhost:8085/mr-api/portfolio
Authorization: Bearer XXX
Content-Type: application/json

{
  "name": "My Portfolio"
}

Calling the same endpoint with the token I get when I log in as a user does work.

Thank you.

@rvowles rvowles self-assigned this Aug 28, 2023
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

No branches or pull requests

2 participants