-
Notifications
You must be signed in to change notification settings - Fork 24
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
♻️(backend) rename playlist tokens #2377
Conversation
26a690b
to
f246a3f
Compare
05ac9e3
to
da50295
Compare
f246a3f
to
f30c747
Compare
ef74946
to
f55d2ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the code is commented. Did you plan to remove it ?
66895ba
to
fba89e9
Compare
a1d8271
to
4625321
Compare
fba89e9
to
d8a338d
Compare
28acfd4
to
57869c9
Compare
d8a338d
to
a681cc8
Compare
57869c9
to
4368dc9
Compare
# class PlaylistLtiTokenFactory(InstructorOrAdminLtiTokenFactory): | ||
# """ | ||
# LTI resource forged token for instructor or administrators with a playlist access. | ||
# See `marsha.core.views.LTISelectView`. | ||
# """ | ||
# | ||
# permissions = factory.SubFactory(ResourcePermissionsFactory, can_update=True) | ||
# | ||
# class Params: # pylint:disable=missing-class-docstring | ||
# playlist = factory.SubFactory(PlaylistFactory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be deleted ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still not ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surely, you reviewed an outdated diff, as this code has been removed :/
src/backend/marsha/deposit/tests/api/depositedfiles/test_delete.py
Outdated
Show resolved
Hide resolved
a681cc8
to
3dcba1d
Compare
4368dc9
to
fa5fa7e
Compare
3dcba1d
to
4e5b7fb
Compare
bdc07af
to
db27a89
Compare
4e5b7fb
to
42fcb94
Compare
db27a89
to
545a559
Compare
To avoid confusion, playlist_id has been renamed to port_to_playlist_id for portability requests.
As we are now using the playlists as token resource, it can be used for portability requests.
Permissions names related to playlists were not very intuitive.
As we now have only playlist tokens, the simple_jwt classes must be renamed for reflecting it.
As we now have only playlist tokens, the simple_jwt attributes must be renamed for reflecting it.
As we now have only playlist tokens, the simple_jwt attributes must be renamed for reflecting it.
545a559
to
375affe
Compare
Purpose
As we now have only playlist tokens, classes, attributes and variables must be renamed for reflecting it.