-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(docs): refine the "getting started with modeling" page #656
base: main
Are you sure you want to change the base?
Conversation
This is a first-half edit of a very, very long document. I know that this is a lot to look over, so feel free to schedule me for a Zoom call so we can talk edits over before you merge.
|
In a few cases other users can be part of determining whether an action can be performed on an action or not. Social media is an example of this "a user can comment on a picture if they are a friend of the user that published it". | ||
Though you're in the process of building a version you can use, the model above is not yet a valid authorization model accepted by <ProductName format={ProductNameFormat.ShortForm}/>. | ||
|
||
In a few cases, other users can determine whether one action can be performed on another action. For example, on social media, sometimes a user can comment on a picture if they are a friend of the user that published it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this whole note is helpful here, let's remove it. It used to be back in back in the day where we didn't require a type for an object
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough!
|
||
In those cases [**User** should also be an object type](./building-blocks/object-to-object-relationships.mdx). Following the last recommendation, we would discover the User type because it is a second noun in an expression: "friend of the user". | ||
In those cases [**User** must be an object type](./building-blocks/object-to-object-relationships.mdx), and you would discover the User type because it is a second noun in an expression `friend of the user`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove
Co-authored-by: Raghd Hamzeh <[email protected]>
Co-authored-by: Raghd Hamzeh <[email protected]>
Co-authored-by: Raghd Hamzeh <[email protected]>
Co-authored-by: Raghd Hamzeh <[email protected]>
Co-authored-by: Raghd Hamzeh <[email protected]>
Change as specified at #656 (comment)
This is a first-half edit of a very, very long document.
I know that this is a lot to look over, so feel free to schedule me for a Zoom call so we can talk edits over before you merge.
Description
References
Review Checklist
main