alkem-io / client-web

Default web frontend, enabling browsing the Alkemio platform - so the hosted Challenges and communities collaborating around those Challenges.
https://alkem.io
European Union Public License 1.2
15 stars 6 forks source link

Account tab 3: create from page #6624

Closed SimoneZaza closed 2 months ago

SimoneZaza commented 3 months ago

Description

As a user, I want to be able to create new things from my account page as well

Acceptance criteria

Additional Context

Higher estimate because of the many flows that need to work

Figma (disregard the designs that are not part of this issue): https://www.figma.com/design/l0hLyZCBs5cxhpp5vUPAte/Account-page?node-id=186-106&t=AhyNIs3ukaS3wWt7-1

Current create fields Innovation pack:

image.png

Areas that will be affected

To be added during the refinement

techsmyth commented 2 months ago

Moved back to refined column as description changed slightly

bobbykolev commented 2 months ago

Note that Create Space and Create Innovation Pack are available on the Users' Account Tabs (implemented as part of https://github.com/alkem-io/client-web/issues/6623).

What remains:

bobbykolev commented 2 months ago

Updates on 20.8:

bobbykolev commented 2 months ago

The creation was implemented before the "Account entity" changes.

Note that:

  1. Currently Space Creation and VC creation flows don't allow selecting a host. It's always the user that creates them. The other creation flows (Packs & Hubs) work fine for both organizations and GAs creating them in another user's account.
  2. If a contributor (user/organization) has no account, then nothing can be created from the Account Tab.
  3. The privilege logic will be revisited and refined after the "Account entity" changes get merged. For now the client checks are: CREATE privilege on the account (space, pack); VC Campaign for VC; and PlatformAdmin for Hubs (see the ACs for details).
techsmyth commented 2 months ago

Thanks @bobbykolev . Important is to get this also merged in with the account features branch to check it there. Answers: a) the creation should always pick up the account ID from the page where it is being created, so the account tab for a user or org. For other cases (such as VC create flow), then the key decision is which account to use. b) all users + orgs have accounts with the new setup c) we do indeed need to recheck the logic once the new privileges are there (again in the new setup). I will raise an issue to actively follow up on this.