Who has the library book?
Borrow a sample book and follow the linked records. Then test who is allowed to view everyone’s loans.
Ninja · Year 9Linked records and permissions
Borrow, return, check access
Data-and-permissions simulation. You are Ari when viewing as a member.
Ari has no loans yet. Borrow The Moon Map and look for its new loan record.
Items
| Item | Book / availability |
|---|
Members
| Member | Name |
|---|
Loans link the records
Ari’s loans onlyMatch the Item and Member IDs to the tables above. A return updates the loan instead of deleting its history.
| Loan | Item | Member | State |
|---|
Data-and-permissions simulation with fictional people and books. The role selector illustrates rules; it is not real login security. A curriculum practice example, not student work.
What the child
is learning.
Explore the learning journeyYear 9 · Linked records and permissions
A loan connects a member record to an item record. A service also checks permissions for each action: a member can manage their own loan, while a librarian can review everyone’s.
Now try this…
Try returning River Stories as Ari, then as the librarian. After viewing all loans, switch back to Member and check what is still visible.