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

SPSH-1514 User Externaldata #867

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

casparneumann-cap
Copy link
Contributor

Description

Links to Tickets or other pull requests

https://ticketsystem.dbildungscloud.de/browse/SPSH-1514

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

casparneumann-cap and others added 21 commits January 7, 2025 15:42
* improve Logging in Permissions decorator

* test coverage for permissions.decorator
* use found LDAPGroupName instead of constructed when adding person

* fix lint
* exclude removed PKs in EmailEventHandler.handlePersonenkontextUpdatedEvent

* recude cognitive complexity of EmailEventHandler.handlePerson
* add guard, uem-password for self

* add test

* refactor

* fix test

* clean up test

* use username over referrer

* fix test
* Keycloak-Backend-URL is now hard coded because it should be the same for all DEV-Branches now

* Changed Deployment to tag

* KC-Base-URL wrong spec

* Set to official deployment tag
@casparneumann-cap casparneumann-cap marked this pull request as ready for review January 13, 2025 08:03
@DPDS93CT DPDS93CT self-requested a review January 13, 2025 11:14
@ApiProperty({ type: [UserExeternalDataResponseOpshPk] })
public personenkontexte: UserExeternalDataResponseOpshPk[];

@ApiProperty()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zusätzlich mit nullable: true kennzeichnen?

@ApiProperty()
public id: string;

public constructor(username: string, oxContext: string) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

für die Konsistenz hier vielleicht oxUsername, hier kann man auch die FlavoredTypes benutzen

@@ -87,12 +90,17 @@ describe('PersonenkontextRepo', () => {

await em.persistAndFlush(newPerson);

const organisation1: Organisation<true> = await organisationRepo.save(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich glaube organisation ohne 1 passt auch :D

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 this pull request may close these issues.

6 participants