-
Notifications
You must be signed in to change notification settings - Fork 0
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
More APIs - Round 4 #33
Conversation
6f63342
to
114f46c
Compare
114f46c
to
b2cdc8e
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.
Looks great, thanks @shadinaif!
|
||
class AccessibleTenantsInfoView(APIView): | ||
"""View to get the list of accessible tenants""" | ||
permission_classes = [] |
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.
Please add Token
authentication and limit to superusers.
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.
will do 👍🏼
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.
@OmarIthawi , I added a rate limit for anonymous access. The API is accessible as anonymous or system-staff. No rate limit on system-staff users. Do we still need an API Key or Token? I guess not
and do not hide courses from detailed views
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.
@shadinaif Looks good to me once the Token
authentication is added to the tenant info API.
516f10c
to
60114b7
Compare
60114b7
to
0a81452
Compare
2818a43
to
16938ca
Compare
16938ca
to
95cbbd3
Compare
API key to be added later #35 |
v0.4.5
v0.4.3