-
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
Add support for non-admin users to create or edit tournaments #172
Comments
@MikeChen012345 I think one issue regarding a possible PR is that should we include a way for the admin users to create/edit tournaments in the form of views/apis? Definitely they can just create a tournament by modifying the database, but I'm just wondering if you think we should provide a different function in views.py for admin users to create/edit tournaments |
For admin users to create, update, and delete a tournament, the approach is to use the link that only appears on the detail view and list view if users are logged in as an admin user. This has been implemented in the CRUD pages. However, since the CRUD pages have been split into 3 pull requests, currently the links are removed. We may need to add them back later. |
Reminder: we need to add support to distribute new tokens every month |
@MuyanXie worked on @Riyush worked on finalizing the logic of non-admin creating tournaments. @MikeChen012345 worked on coding and doing the details |
Issue Score: Excellent Comments: |
This issue is a direct continuation of issue #173 . In this issue, we will discuss how we would allow non-staff users to create or edit tournaments, with a thorough documentation of the methods and a coming PR finalizing the changes
Documentations on Non-staff users:
The text was updated successfully, but these errors were encountered: