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

Observables for permissions checks #2

Closed
sebdeleze opened this issue Sep 19, 2019 · 0 comments
Closed

Observables for permissions checks #2

sebdeleze opened this issue Sep 19, 2019 · 0 comments

Comments

@sebdeleze
Copy link

The functions that control permissions to add, edit or delete a resource must return an observable.

In addition, it is necessary to add a control on the possibility of listing records and seeing the details of a record.

sebdeleze pushed a commit that referenced this issue Nov 6, 2019
* Checks permissions for deleting or updating a resource on detail view.
* Returns an observable for getting the record instead of the record data directly.
* Converts returns of functions canAdd and canEdit into observable.
* Creates a service for managing records in user interface.
* Fixes issue #2

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
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

No branches or pull requests

2 participants