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

PIN-5849 - restrict agreements visibility only to allowed tenants #1526

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

ecamellini
Copy link
Collaborator

@ecamellini ecamellini commented Feb 13, 2025

@ecamellini ecamellini marked this pull request as draft February 17, 2025 10:45
@ecamellini ecamellini marked this pull request as ready for review February 17, 2025 16:13
@ecamellini ecamellini changed the title PIN-5849 - agreement visibility checks PIN-5849 - restrict agreements visibility only to allowed tenants Feb 17, 2025
Copy link
Collaborator

@sandrotaje sandrotaje left a comment

Choose a reason for hiding this comment

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

💣

Copy link
Collaborator

@MalpenZibo MalpenZibo left a comment

Choose a reason for hiding this comment

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

👌

Copy link
Contributor

@galales galales left a comment

Choose a reason for hiding this comment

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

LGTM! just a doubt on a few cases

@ecamellini ecamellini marked this pull request as draft February 19, 2025 17:19
Copy link
Collaborator Author

@ecamellini ecamellini left a comment

Choose a reason for hiding this comment

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

@galales @sandrotaje @MalpenZibo I added the permissions check at a readmodel query level also in the other three listings that @galales pointed out, as we discussed, so that only tenants/eservices for allowed agreements are returned

Comment on lines -856 to -864
- in: query
name: states
description: comma separated sequence of states
schema:
type: array
items:
$ref: "#/components/schemas/AgreementState"
default: []
explode: false
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

discussed with the front-end, this param is never used

@ecamellini ecamellini marked this pull request as ready for review February 20, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants