Skip to content

Commit 1cb50f3

Browse files
author
Heathpackard
authored
Update 1-design-your-model.mdx
1 parent 644dd03 commit 1cb50f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/docs/guides/(authorization)/Implement-AuthZ-in-3-steps/1-design-your-model.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ The first step is to define the structure of your permission system. There are f
3737

3838
The first step is to scope your authorization project. Write a list of the <Glossary>permission</Glossary>s you want to model in your system. Then write a list of permission 'stories' you want the model to support, like:
3939

40-
- A user with view access to a folder should have view access to all files inside that folder
41-
- Leaders in the Sales department should be able to create new deals
42-
- A manager should be able to view the compensation of all their reports (direct & indirect)
40+
- A user with view access to a folder should have view access to all files inside that folder.
41+
- Leaders in the Sales department should be able to create new deals.
42+
- A manager should be able to view the compensation of all their reports (direct & indirect).
4343

4444
This exercise will give you a sense of which users, groups and resources you want to model permissions on, the relationships between those <Glossary>object</Glossary>s, and how those relationships affect permissions.
4545

@@ -69,8 +69,8 @@ To add an edge type, go to the Authorization tab in UserClouds Console and click
6969

7070
Attributes are defined at the edge type level, so all edges of a given type share the same attributes. Each attribute typically achieves one of the following goals:
7171

72-
- They give a user permission on an object directly (<Glossary>direct</Glossary> attributes)
73-
- They pass a permission from one user or group to another (<Glossary>inherit</Glossary> attributes)
74-
- They propagate a permission down a hierarchy of nested objects, like folders and files (<Glossary>propagate</Glossary> attributes)
72+
- They give a user permission on an object directly (<Glossary>direct</Glossary> attributes).
73+
- They pass a permission from one user or group to another (<Glossary>inherit</Glossary> attributes).
74+
- They propagate a permission down a hierarchy of nested objects, like folders and files. (<Glossary>propagate</Glossary> attributes)
7575

7676
For more intro on attributes, see [Modelling Hierarchy with Attribute Scopes](/docs/guides/overview/modelling-hierarchy-with-attribute-types).

0 commit comments

Comments
 (0)