Created a new action called getAllOrgOwners and loading all the owners of the orgs. in the "Who to Follow" section.
And one can find orgs. owners in org_users collection where each doc id following this pattern orgname_userId so I have extracted the userId and return an array with that data.
Related Issue
Fixes #82
Motivation and Context
To add a touch of dynamism to our codelabz.
How Has This Been Tested?
Tested locally on my machine.
Video reference:
Here, all the owners of the orgs. is loaded and when I logged in through Rohit First Id account then it's not shown under "Who To Follow" section as this user is not an owner of any organization or haven't created any organization. And the owners are present under org_users collection only.
That's what I am trying to show.
Description
Created a new action called
getAllOrgOwners
and loading all the owners of the orgs. in the "Who to Follow" section. And one can find orgs. owners inorg_users
collection where each doc id following this pattern orgname_userId so I have extracted the userId and return an array with that data.Related Issue
Fixes #82
Motivation and Context
To add a touch of dynamism to our codelabz.
How Has This Been Tested?
Tested locally on my machine.
Video reference:
Here, all the owners of the orgs. is loaded and when I logged in through
Rohit First Id
account then it's not shown under "Who To Follow" section as this user is not an owner of any organization or haven't created any organization. And the owners are present underorg_users
collection only. That's what I am trying to show.https://github.com/c2siorg/Codelabz/assets/123815256/f2305487-1d1d-44a0-8514-1e300e9dc94b
Types of changes
Checklist: