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

fix(role assignment): fix query for core offer role assignment #749

Conversation

ntruchsess
Copy link
Contributor

@ntruchsess ntruchsess commented May 21, 2024

Description

The query being used to determine roles to be assigned has been adjusted to not include unassigned but not requested and assignable roles.

Why

update of core-offer-roles would result in all roles to be assigned that are assignable in respect to the assigned company-roles

Issue

#748

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas

@ntruchsess ntruchsess linked an issue May 21, 2024 that may be closed by this pull request
@ntruchsess ntruchsess changed the base branch from main to release/v2.0.0-RC9 May 21, 2024 13:49
@ntruchsess ntruchsess requested a review from evegufy May 21, 2024 13:50
Copy link

sonarcloud bot commented May 21, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@ntruchsess ntruchsess marked this pull request as ready for review May 21, 2024 13:58
@ntruchsess ntruchsess merged commit d7fd0cc into eclipse-tractusx:release/v2.0.0-RC9 May 21, 2024
13 checks passed
@ntruchsess ntruchsess deleted the bugfix/748-core-offer-role-assignment branch May 21, 2024 14:33
ntruchsess added a commit that referenced this pull request May 22, 2024
* feat(document): enhance companyDetailsWithAddress endpoint (#732)

* add documents section to endpoint companydetailaddress
* remove documents section from applications endpoint
* adjust unit tests
---------
Co-authored-by: Norbert Truchsess <norbert.truchsess@t-online.de>

* fix(decline): add decline url for invite process (#727)

Refs: #701

* feat(app): add roleId for exitisting activeRoleDetails (#744)

Ref : #705

* fix(seeding-data): add self description document for Catena-X (#707)

Reviewed-By: Phil Schneider <info@philschneider.de>
Refs: #702

* fix(dim) don't create keycloak sa for dim (#745)

* fix(role-management): fix query selecting role-data for core-offer role assignement (#749)

* feat(services): update permission for api endpoints added (#751)

* fix(keycloak): set clockSkew to 5 min (#753)

* chore: fix file header
#752

* fix(offersubscription): fix queries throwing a system exception instead of returning default value (#755)

* fix 'System.InvalidOperationException: Nullable object must have a value' caused by queries selecting a (non-nullable) guid from a joined table where the joined table does not have a matching dataset resulting in 'null' being returned from the database.

* build(2.0.0-rc9): bump version and update docs

---------

Co-authored-by: AnuragNagpure <145100366+AnuragNagpure@users.noreply.github.com>
Co-authored-by: Phil Schneider <info@philschneider.de>
Co-authored-by: VPrasannaK94 <117351802+VPrasannaK94@users.noreply.github.com>
Co-authored-by: Norbert Truchsess <norbert.truchsess@t-online.de>
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.

Role Assignment Triggering Cascading Assignments
3 participants