Skip to content

CV2-6708: Set TeamSlug for Create TiplineResource mutation#2459

Merged
melsawy merged 1 commit into
developfrom
CV2-6708-create-resource
Apr 27, 2026
Merged

CV2-6708: Set TeamSlug for Create TiplineResource mutation#2459
melsawy merged 1 commit into
developfrom
CV2-6708-create-resource

Conversation

@melsawy
Copy link
Copy Markdown
Contributor

@melsawy melsawy commented Apr 27, 2026

Description

Set the team variable for createResourceMutation based on the team the user is browsing instead of User.current_team in. This fixes an issue where Meedan users could trigger the createNewResource mutation without being members of the workspace.

References: CV2-6708

How to test?

Should follow these steps:

  1. Create a new workspace.
  2. Log in with a Meedan account that is not a member of the workspace created in step 1.
  3. Create a new resource.

Result: Successfully created a new resource.

Checklist

@melsawy melsawy merged commit 081b32a into develop Apr 27, 2026
11 checks passed
@melsawy melsawy deleted the CV2-6708-create-resource branch April 27, 2026 15:27
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 this pull request may close these issues.

2 participants