You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is ownersmany: true? Because a Group could have more than one owner. Think of them like the "Admins" of a group; there could be one, or there could be many.
When a new group is created, I want the currently logged in user to be automatically assigned as an owner.
The text was updated successfully, but these errors were encountered:
It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)
Feature request
Is your feature request related to a problem? Please describe.
I'm currently using
@keystonejs/fields-authed-relationship
successfully to connect the currently logged in user when creating a newSubscription
:However, I cannot use this when the relationship has a
many: true
, for example adding the user as anowner
of aGroup
.Describe the solution you'd like
Describe alternatives you've considered
resolveInput
or maybevalidateInput
hook to check that it matches the currently logged in userAdditional context
Why is
owners
many: true
? Because aGroup
could have more than one owner. Think of them like the "Admins" of a group; there could be one, or there could be many.When a new group is created, I want the currently logged in user to be automatically assigned as an
owner
.The text was updated successfully, but these errors were encountered: