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

Issue With shared with "ORGANIZATION_DEPARTMENTS" posts/polls #122

Closed
yatishTrootech opened this issue Mar 24, 2023 · 8 comments · Fixed by #126
Closed

Issue With shared with "ORGANIZATION_DEPARTMENTS" posts/polls #122

yatishTrootech opened this issue Mar 24, 2023 · 8 comments · Fixed by #126
Assignees

Comments

@yatishTrootech
Copy link
Contributor

yatishTrootech commented Mar 24, 2023

If posts/polls have shared_with = ORGANIZATION_DEPARTMENTS

  1. It should only be visible to the department which is selected for the same organization
  2. If another (affiliated ORG) department is selected then it should only be seen by another org-selected department
  3. It should be visible to the creator

Also check if the post is showing in the list then it should perform all things update/like/etc

Linked more details in fail cases in this card

@yatishTrootech yatishTrootech self-assigned this Mar 24, 2023
@qanaveen1111
Copy link

qanaveen1111 commented Apr 6, 2023

@suryaiiit

@yatishTrootech yatishTrootech linked a pull request Apr 6, 2023 that will close this issue
@suryaiiit
Copy link
Collaborator

Can I say Multi-Org Post is all good on NUHS?
I understand Polls is not built yet.

@suryaiiit
Copy link
Collaborator

We should support Polls as well for multi-orgs

@qanaveen1111
Copy link

qanaveen1111 commented Apr 21, 2023

Fail

Date -21-4-23
Server-Dryice.skorde.com
Users -user1@nuhs.ed.sg

Poll in iOS

Poll to My Org- Poll will show to all the departments in same ORG but will not display to child ORG

  • ORG-Parent (poll type-My Org )-Created Poll from [user1@nuhs.edu.sg] to My Org and login with same dept users poll is displaying , login with child Org dept user[test56@test.com] poll is not displaying
  • ORG-Child (Poll type-My Org)-Created poll from child org [admin@test8.com]to My Org and login with same dept user poll is displaying , login with Parent Org dept user [user3@nuhs.edu.sg] poll is not displaying

Poll to My Dept--> Poll will display only to particular department of logged in user

  • Org-Parent (Poll type- My Dept)- Created poll from [user1@nuhs.edu.sg] (Pharmacy dept )to My dept and login with diagnosis dept user-[user3@nuhs.edu.sg] poll is not displaying poll is displaying for only Pharmacy dept and login with child Org user poll is not displaying
  • Org-Child (Poll type- My Dept)- Created poll from [[admin@test8.com] (Clinical dept )to My dept and login with Cardic dept poll is not displaying poll is displaying for only Clinical dept

Poll to Custom-->This poll we can give to only selected departments in both parent and child Org admin can select any multiple depts that he want to poll.

  • Expected behaviour :- Org-parent (Poll type -Custom)-Created poll form [user1@nuhs.edu.sg] to parent Org (dept pharmacy) login with Parent Org Diagnostics dept poll is not showing , login with pharmacy dept poll is showing and login with child Org users poll is not showing.Fail
    Actual : Poll is showing in both departments
  • Expected behaviour :-ORG-child (poll type -Custom)-Created poll from [admin@test8.com] to child Org (dept cardic ) login with child Org clinical dept user poll is not showing and login with child org cardiac user poll is showing and login with parent Org user poll is not showing Fail
    Actual : Poll is showing in both departments
  • Org-Parent (Poll type-custom )-Created post from [user1@nuhs.edu.sg] to Nuhs test Org and Nuhs child Org (All users in both departments can see the post) login with Parent and child Org with all depts poll is showing to all depts

Poll in Android --Custom poll and My ORG option is not there in android https://github.com/rewardz/skor-android/issues/728

Poll to My Dept--> Poll will display only to particular department of logged in user

  • Org-Parent (Poll type- My Dept)- Created poll from [user1@nuhs.edu.sg] (Pharmacy dept )to My dept and login with diagnosis dept user-[user3@nuhs.edu.sg] poll is not displaying poll is displaying for only Pharmacy dept and login with child Org user poll is not displaying
  • Org-Child (Poll type- My Dept)- Created poll from [[admin@test8.com] (Clinical dept )to My dept and login with Cardic dept poll is not displaying poll is displaying for only Clinical dept

@suryaiiit @yatishTrootech @SteffiVinod5

@qanaveen1111
Copy link

qanaveen1111 commented Apr 24, 2023

Fail

Date -24-4-23
Server-Dryice.skorde.com
Users [-user1@nuhs.ed.sg]

Poll to Custom-->This poll we can give to only selected departments in both parent and child Org admin can select any multiple depts that he want to poll.

  • Expected behaviour :- Org-parent (Poll type -Custom)-Created poll form [user1@nuhs.edu.sg] to parent Org (dept pharmacy) login with Parent Org Diagnostics dept poll is not showing , login with pharmacy dept poll is showing and login with child Org users poll is not showing.Fail
    Actual : Poll is showing in both departments
  • Expected behaviour :-ORG-child (poll type -Custom)-Created poll from [admin@test8.com] to child Org (dept cardic ) login with child Org clinical dept user poll is not showing and login with child org cardiac user poll is showing and login with parent Org user poll is not showing Fail
    @yatishTrootech @SteffiVinod5

@yatishTrootech
Copy link
Contributor Author

Issue1: #141 (comment)

1 similar comment
@yatishTrootech
Copy link
Contributor Author

Issue1: #141 (comment)

@qanaveen1111
Copy link

qanaveen1111 commented Apr 28, 2023

Pass

Date -28-4-23
Server-jack.skordev.com
Users [-user1@nuhs.ed.sg]

Poll to Custom-->This poll we can give to only selected departments in both parent and child Org admin can select any multiple depts that he want to poll.

  • Expected behaviour :- Org-parent (Poll type -Custom)-Created poll form [user1@nuhs.edu.sg] to parent Org (dept pharmacy) login with Parent Org Diagnostics dept poll is not showing , login with pharmacy dept poll is showing and login with child Org users poll is not showing.
    Actual : Poll is showing in both departments
  • Expected behaviour :-ORG-child (poll type -Custom)-Created poll from [admin@test8.com] to child Org (dept cardic ) login with child Org clinical dept user poll is not showing and login with child org cardiac user poll is showing and login with parent Org user poll is not showing
    @yatishTrootech @SteffiVinod5 @suryaiiit

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 a pull request may close this issue.

3 participants