-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[spaceship] Add visible_apps relationship to invite users with app pe…
…rmissions and fetch user's app permissions (#19053) * Add visibleApps to User and UserInvitation * Use visible_apps in create UserInvitation * Use visible_apps in post_user_invitation * Get visible apps for invited user * Use visible_apps in post_user_invitation - fix to use relationships * Rename visible_apps param to visible_app_ids * Explain how to use all_apps_visible and visible_app_ids to create user invitation * Fetch visible apps response fix * Use all_pages in fetch_visible_apps * Fetch visible apps for user * Add tests for get requests, build_params for calls * Add limit param for get requests * Add test for post_user_invitation * Rubocop fixes * Add limit param to fetch_visible_apps methods * Code review improvements - rename fetch to get * Code review improvements - get essential includes for user and user_invitation
- Loading branch information
1 parent
c07e08d
commit 5fb3ff7
Showing
4 changed files
with
142 additions
and
10 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
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