Skip to content
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

feat(platformServices): issues/240 initial getUserPermissions #249

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

cdcabrera
Copy link
Member

@cdcabrera cdcabrera commented Apr 8, 2020

What's included

  • feat(platformServices): issues/240 getUserPermissions
    • build, expand platform testing mock
    • reduxHelpers, add getDataFromResults function alias
    • userReducer, add admin, entitled, and permissions
    • platformServices, expose getUserPermissions
    • userServices, expose getUserPermissions through authorizeUser
    • platformApiTypes, apply API types

Notes

  • Behind the scenes updates
  • Exposes the platform "getUserPermissions" global
  • Enhances the user session with "is org admin"

How to test

Coverage and basic unit test check

  1. update the NPM packages with $ yarn
  2. $ yarn test

Example

...

Updates issue/story

#240

…#249)

* build, expand platform testing mock
* reduxHelpers, add getDataFromResults function alias
* userReducer, add admin, entitled, and permissions
* platformServices, expose getUserPermissions
* userServices, expose getUserPermissions through authorizeUser
* platformApiTypes, apply API types
@cdcabrera cdcabrera force-pushed the issues/240-platform branch from a10c7dc to e21b65e Compare April 8, 2020 20:09
@cdcabrera cdcabrera merged commit e4f8bb2 into RedHatInsights:ci Apr 8, 2020
@cdcabrera cdcabrera mentioned this pull request Apr 10, 2020
cdcabrera added a commit that referenced this pull request Apr 10, 2020
* build, expand platform testing mock
* reduxHelpers, add getDataFromResults function alias
* userReducer, add admin, entitled, and permissions
* platformServices, expose getUserPermissions
* userServices, expose getUserPermissions through authorizeUser
* platformApiTypes, apply API types
@cdcabrera cdcabrera mentioned this pull request Apr 10, 2020
cdcabrera added a commit that referenced this pull request Apr 17, 2020
* build, expand platform testing mock
* reduxHelpers, add getDataFromResults function alias
* userReducer, add admin, entitled, and permissions
* platformServices, expose getUserPermissions
* userServices, expose getUserPermissions through authorizeUser
* platformApiTypes, apply API types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant