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

BaseService with generic auth #16

Merged

Conversation

gastonmorixe
Copy link
Member

No description provided.

@gastonmorixe gastonmorixe self-assigned this Apr 4, 2021
@gastonmorixe gastonmorixe added this to the MVP001 milestone Apr 4, 2021
@gastonmorixe gastonmorixe added Authorization enhancement New feature or request labels Apr 4, 2021
@gastonmorixe gastonmorixe linked an issue Apr 4, 2021 that may be closed by this pull request
Copy link
Member

@frankmangone frankmangone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@frankmangone frankmangone merged commit 519f97f into gm/fm/guards/global-auth-guard Apr 4, 2021
@frankmangone frankmangone deleted the gm/fm/guards/global-auth-guard-2 branch April 4, 2021 19:24
frankmangone added a commit that referenced this pull request Apr 4, 2021
* AuthN guard to global and whitelisting decorator

* Added Policy.Guard globally, and whitelisting

* Started trying abilities with CASL

* Small fixes

* Basic role auth working

* Cleanup

* Start implementing auth based con current user check

* School createdBy autosave and querying WIP

* ResolveField for createdBy

* Working on CASL policies

* Trying to make auth work from service

* Romper todo

* Working CASL with owner id

* Moved permissons to SchoolService

* Added mongoose-autopopulate on School for testing

* BaseService with generic auth (#16)

* Quick fixes

Co-authored-by: Gaston Morixe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Authorization enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authorization
2 participants