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

[QCDP24-26] show the datarequest created by current user after user moved to diff org #9

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

awset
Copy link

@awset awset commented Sep 7, 2024

https://salsadigital.atlassian.net/browse/QCDP24-26

the AC says, the facet will be the user's orgs, which mean it should be the requesting_organisation field instead of organization_id, the last PR was mentioning the other way around (and it was not fully tested yet)

the organization_id field is populated by default from the dataset id, which it can be not the current users org. so the facet ideally should be the requesting_organisation field.

now there will be an issue when user edit the data request, by default, the organization_id is hidden, and requesting_organisation is a list of current user's org, if user moved org, and try to edit the older data request from older org, the older org won't be visible on the list, and user can't save this data request edit form without selecting the available org list. and if user select the available org, the older org from the facet will be gone, because the data request is belongs to other requesting_organisation

I think we should have a quick discussion to align if this approach are right or not.

@awset awset self-assigned this Sep 7, 2024
@awset awset requested a review from MarkCalvert September 8, 2024 10:26
@awset awset marked this pull request as ready for review September 8, 2024 10:26
@awset awset force-pushed the feature/QCDP24-26-org branch from 9ed3e8d to 37b21a6 Compare September 8, 2024 10:35
@MarkCalvert MarkCalvert merged commit 414ad3f into develop Sep 9, 2024
2 checks passed
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.

2 participants