Accommodates changes to the /permissions response. (At a high level, the /permissions response now indicates which categories of UI actions the user is permitted to perform, so lots of client-side data restriction checks are updated or excised.)
Uses the /permissions endpoint to enforce data restrictions for registered and guest users
Exposes a WdkDependencies wrapper which can be used to provide a configurable StudyAccessApi as a WdkDependenciesContext and a WDK epic/thunk dependency
Depends on
This PR:
/permissions
response. (At a high level, the/permissions
response now indicates which categories of UI actions the user is permitted to perform, so lots of client-side data restriction checks are updated or excised.)/permissions
endpoint to enforce data restrictions for registered and guest usersWdkDependencies
wrapper which can be used to provide a configurableStudyAccessApi
as aWdkDependenciesContext
and a WDK epic/thunk dependencywithPermissions
HOC from EbrcWebsiteCommonFuture work:
Fully excise the use of the
approvedStudies
user property, which is still being used to handle the case of MicrobiomeDB.