This message was deleted.
# questions
b
This message was deleted.
g
Are you using Stacker tables or Airtable as the backend? And is your relationship
Student → User
or
User → Student
?
b
Airtable
User --> Student
I mean in airtable the relationship is both ways
r
Hey – so you should be able to to this two ways
Firstly, you should be able to say, for the equipment permissions Equipment->Student MATCHES User->Student
alternatively you can use a lookup to bring either the list of equipment onto the users or a list of Users onto the equipment
but the first option should be enough
b
Thanks @rough-orange-4490 for a bit more context, we want to show a *"Related table*" block of equipment within the Student record so User signs in User sees just the Students linked to them in Airtable User clicks into student record and sees just the equipment linked to that student
r
Yeah, so if you add a "Related records" list onto the student's detail page and choose "only include related records" then that will show only the equipment related to that student
but you should still apply the permissions as well!
b
When I add this Related records block I can't see any options
Is that because I haven't set "Equipment->Student MATCHES User->Student"
That must be it
r
So that screenshot is from the permissions pane, not from the related record block that you'd drag onto a detail page
not sure if you sent the wrong one
b
Ah roger
One sec
Will figure this out, thanks a lot @rough-orange-4490
r
🙏
b
For this related logic to work, do I first need to set up "Equipment->Student MATCHES User->Student" in main permissions secction of equipment
r
Nope, you should be able to set up the views independently of that
b
But in other "related logic" I only get X --> Y
Not X --> Y --> Z
r
So for the display on the page you don't need X->Y->Z
since you're on a page for Y showing a list of Xs
(Y is a student and X is equipment)
b
But to be clear only some equipment do I want to show
Only the user's equipment
r
Do you have time to jump on a quick call: stackerhq.com/meet/michael
b
Joining now!
🙏 1
The record --> Referral ID matches the users's Referrals