Hello, maybe I'm completely wrong but what is the best way to check if a user is allowed to edit a model if its a longer relation chain?
For example:
user -> team -> event -> timetable -> days -> locations -> acts
What is the best practice to check if the user is allowed to edit the act?
Current possibilities I can think of:
- Get event by current team, get timetable by event, ..., get act by stage.
- Put an team relation to every model in the chain and just check the current Team.
- Make hasManyThrough's in between
Thanks in advance!