-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jsonapi: Check relationship's output type permission while building c…
…atalog; fixes OpenAPI schema generation (#1434) <!-- The PR description should answer 2 important questions: --> ### What While generating the json:api catalog for a given role, include relationships for an object type only if the relationship's output type is accessible to the role. This would enable proper open api schema generation and permission check during json:api validation phase. ### How <!-- How is it trying to accomplish it (what are the implementation steps)? --> Include the relationship in the map after checking the role's accessibility to the type. V3_GIT_ORIGIN_REV_ID: 5c7b95d7118a665783d1b765198648d876ad684a
- Loading branch information
1 parent
4df58b5
commit 1e38a56
Showing
5 changed files
with
433 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.