Skip to content

Commit 5413e80

Browse files
author
Heathpackard
authored
Update edtech-platform.mdx
1 parent f036648 commit 5413e80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/docs/guides/(authorization)/illustrative-examples/edtech-platform.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ hit on the cleanest model structure.
4444

4545
Suppose you are an educational technology company and want to create a permissions system that decides who can view each user’s grades. You might want to define permissions such that:
4646

47-
- Students can view their own grades
48-
- Parents can view the grades of all their children
49-
- Teachers can view the grades of every student in their class
50-
- Principals can view the grades of every student in their school
47+
- Students can view their own grades.
48+
- Parents can view the grades of all their children.
49+
- Teachers can view the grades of every student in their class.
50+
- Principals can view the grades of every student in their school.
5151

5252
Serving this use case in a role-based (RBAC) system would be highly complex. For every class, you would need to define a `teacher_of_this_class` role. And for every child, you would need to define a `parent_of_this_child` role. This would require almost as many roles as users!
5353

0 commit comments

Comments
 (0)