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

Operator | Send invites with custom technical user | Change of Access Policy #932

Open
1 of 2 tasks
typecastcloud opened this issue Aug 14, 2024 · 6 comments · May be fixed by #1002
Open
1 of 2 tasks

Operator | Send invites with custom technical user | Change of Access Policy #932

typecastcloud opened this issue Aug 14, 2024 · 6 comments · May be fixed by #1002
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@typecastcloud
Copy link
Contributor

typecastcloud commented Aug 14, 2024

Description

As portal operator,
I want to access api/administration/invitation endpoint via technical user,
so that a valid operator company can provide clients to integrate external systems like hubspot.

Right now only portal user can use the endpoint.

Acceptance Criteria

  • Technical user with correct operator bpn/organisation attribute and role invite_new_partner can send invites via api/administration/invitation endpoint.
  • As CX Operator company I can create a technical user with the invite_new_partner role.

Additional Information

[Authorize(Policy = PolicyTypes.CompanyUser)] -> [Authorize(Policy = PolicyTypes.ValidCompany)]

CC: @jjeroch @MaximilianHauer

@typecastcloud typecastcloud added the enhancement New feature or request label Aug 14, 2024
@typecastcloud typecastcloud self-assigned this Aug 14, 2024
typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this issue Aug 14, 2024
Technical user/clients were now able to use endpoint.

Refs: eclipse-tractusx#932
typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this issue Aug 15, 2024
Technical user/clients were now able to use endpoint.

Refs: eclipse-tractusx#932
@MaximilianHauer
Copy link

under clarification

@typecastcloud
Copy link
Contributor Author

under clarification

The Initial step would be to allow access to endpoint via technical user at all. Right now only portal user can access this. There is no technical user that has this role to send out invites, but we can configure a different technical user to have the role until there is one.
Adding a new technical user type that only CX Operator can create would be a second step.

But maybe you have a different proposal.

@MaximilianHauer
Copy link

@ntruchsess / @evegufy / @Phil91 lets discuss the options after your vacation

@MaximilianHauer
Copy link

MaximilianHauer commented Aug 30, 2024

@typecastcloud i would follow your idea regarding the creation of a technical_user that can be created by cx-operator. makes sense for me.

please enhance the ticket with the respective acc-

typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this issue Sep 4, 2024
Technical user/clients were now able to use endpoint.

Refs: eclipse-tractusx#932
typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this issue Sep 10, 2024
Technical user/clients were now able to use endpoint.

Refs: eclipse-tractusx#932
@evegufy evegufy added this to the Release 24.12 milestone Sep 10, 2024
@typecastcloud
Copy link
Contributor Author

typecastcloud commented Sep 16, 2024

@typecastcloud i would follow your idea regarding the creation of a technical_user that can be created by cx-operator. makes sense for me.

please enhance the ticket with the respective acc-

Sorry I forgot to answer here. I'll create the separate PR for that and adjust the issue.

@MaximilianHauer which name should I consider for the new technical user? Registration Internal ?

@MaximilianHauer
Copy link

MaximilianHauer commented Sep 16, 2024

Yeah would fit into the current setup :)

proposal for the description:
"Technical user enabling the invitation API to integrate 3rd party software."

typecastcloud added a commit to Cofinity-X/entry-portal-backend that referenced this issue Sep 17, 2024
Allows adding technical user for invitation api as CX Operator.

Refs: eclipse-tractusx#932
typecastcloud added a commit to Cofinity-X/entry-portal-iam that referenced this issue Sep 17, 2024
@ntruchsess ntruchsess linked a pull request Sep 17, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: BACKLOG
Development

Successfully merging a pull request may close this issue.

3 participants