shelf.nu icon indicating copy to clipboard operation
shelf.nu copied to clipboard

Feature: Allow self assign custody over an asset as a TEAM / Personal workspace owner

Open carlosvirreira opened this issue 1 year ago • 1 comments

Contact Details

No response

What happened?

I create a team workspace on test-app - I am the only user.

I create an asset and want to assign it to me. I do not see myself as a team member.

Jurre on Discord writes "This issue happens every time the dropdown component gets added to a new place"

What is the expected behaviour?

Allow me to self-assign assets as the workspace owner.

Screenshot 2024-04-30 at 14 36 19

Version

Hosted (app.shelf.nu)

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

carlosvirreira avatar Apr 30 '24 12:04 carlosvirreira

Currently we only can assign custody via a teamMember. NRMs are team members so are invited users, but the owner doesnt have a team member attached to them. We would need to adjust the creation of a workspace by creating a teamMember for the owner when the organization is created. We would also need to update the UI as well.

DonKoko avatar Apr 30 '24 14:04 DonKoko

hey @rockingrohit9639, can you please look into this. Here are the things we need to handle:

  • [x] When a new workspace(organization) is created, we always need to create a teamMember for the owner and connect it to the owner
  • [x] We need to make a migration and write some SQL code, that checks each workspace and if there is no teamMember for the owner, we need to create one.
  • [x] We have to make sure that every place where we create an org, we actually use createOrganization as that handles all the connected data

DonKoko avatar Jun 24 '24 11:06 DonKoko

Sure @DonKoko I will look into it.

rockingrohit9639 avatar Jun 24 '24 11:06 rockingrohit9639