Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUGFIX]Allow user to be invited to multiple admins' workspaces#459

Merged
supriya3105 merged 1 commit intodevelopfrom
fix-workspace-invite
Jun 10, 2022
Merged

[BUGFIX]Allow user to be invited to multiple admins' workspaces#459
supriya3105 merged 1 commit intodevelopfrom
fix-workspace-invite

Conversation

@apoorv-mishra
Copy link
Contributor

Notion card

NA

Summary

A user can be invited to different admins' workspaces.

Preview

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • I have manually tested all workflows
  • I have performed a self-review of my own code
  • I have added automated tests for my code

private

def invite_resource
if invited_user.present? && invited_user.invitation_accepted_at.present?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a spec for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hard to test since the user has to accept invitation and that user has to be invited again. Moreover, @shalapatil is already re-working this out. I would suggest we go ahead with merge after @apoorv1316 approves.

@supriya3105
Copy link
Contributor

@rohitjoshixyz Can we merge this as suggested by @apoorv-mishra ?

@rohitjoshixyz
Copy link
Contributor

Okay go ahead @supriya3105

@supriya3105 supriya3105 merged commit 6c921ee into develop Jun 10, 2022
@supriya3105 supriya3105 deleted the fix-workspace-invite branch June 10, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants