alkem-io / server

Core server in the Alkemio platform, offering a GraphQL api for interacting with the logical domain model.
http://alkem.io
European Union Public License 1.2
26 stars 4 forks source link

BUG: When external user is invited as global role, the account he could not perform the privileges he is supposed to #4723

Open Comoque1 opened 1 week ago

Comoque1 commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to dev env
  2. Perform the following mutation:
    mutation {
    inviteUserToPlatformWithRole(
    invitationData: {
      email: "comoque+1077@gmail.com"
      platformRole: VC_CAMPAIGN
      welcomeMessage: "test"
    }
    ) {
    id
    }
    }
  3. Finalize the registration flow for the user
  4. Try to create a VC, Pack, Space - button are not available but user is part of VC campaign group

NOTE After policy reset, user see all controls and is able to create Space, VC, Pack

Expected behavior After user registers, he can create Space, VC, Pack

Comoque1 commented 4 days ago

Notifications are not being triggered from inviteUserToPlatformWithRole mutation

image.png