-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Allow adding pub and stage members in seed function Co-authored-by: Thomas F. K. Jorna <[email protected]> * Fix seed scripts * Filter pub results when userId is passed * Make tests pass * Add todo comment for making getPubs safer * Fetch and use user in api for filtering pubs * Pass user to get pubs query whenever possible * Restrict access to individual pub page * Skip pub authorization filtering on form fill page since it's authorized by form membership * Allow superadmins to see all pubs * Pub authorization tests (#857) * Initial tests * Clean up a little * Remove redundant stage capability check * Delete integrations from pub page and stop generating token on render * Pub membership test (#858) * Make sure related pubs show up regardless of authorization * Fix missing import --------- Co-authored-by: Thomas F. K. Jorna <[email protected]> Co-authored-by: Allison King <[email protected]>
- Loading branch information
1 parent
a93ead0
commit 135c6d2
Showing
21 changed files
with
579 additions
and
85 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
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
Oops, something went wrong.