-
Notifications
You must be signed in to change notification settings - Fork 25
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
patrons: use marshmallow for API control #3216
Merged
zannkukai
merged 1 commit into
rero:US-Permissions
from
zannkukai:zan-patron-marshmallow
Feb 7, 2023
Merged
patrons: use marshmallow for API control #3216
zannkukai
merged 1 commit into
rero:US-Permissions
from
zannkukai:zan-patron-marshmallow
Feb 7, 2023
Conversation
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
7a2cf02
to
8a14125
Compare
8a14125
to
7d6ec54
Compare
d607327
to
61d2c72
Compare
5407a92
to
7f660d2
Compare
9fa21ab
to
2ad324b
Compare
543b1f0
to
24dc062
Compare
7f660d2
to
faf7085
Compare
ee2ccd4
to
8b6b399
Compare
rerowep
approved these changes
Feb 1, 2023
jma
approved these changes
Feb 6, 2023
faf7085
to
e07c0c6
Compare
8b6b399
to
d792ce2
Compare
* Use Marshmallow schema to control `Patron` resources through API. The `role` field is now controlled to limit changes depending to current connected user. * Renames `User.get_by_id()` to `User.get_record()` * Improves code coverage * Include `public-holdings-items` CSS into document detail-view * Fixes policies related to `Template` resource. Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
d792ce2
to
c35b1c3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dev: DB
Database structure (models.py)
dev: fixtures
Fixtures data used for ils.test and ilsdev.test
f: data migration
Data migration from a legacy system or a previous version
f: data
About data model, importation, transformation, exportation of data, specific for bibliographic data
f: notifications
f: permissions
Concerns the rights management
f: user management
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use Marshmallow schema to control
Patron
resources through API. Therole
field is now controlled to limit changes depending to currentconnected user.
Co-Authored-by: Renaud Michotte renaud.michotte@gmail.com