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

Public Tasks #1578

Open
ihsaan-ullah opened this issue Sep 4, 2024 · 2 comments · May be fixed by #1581
Open

Public Tasks #1578

ihsaan-ullah opened this issue Sep 4, 2024 · 2 comments · May be fixed by #1581
Assignees
Labels

Comments

@ihsaan-ullah
Copy link
Collaborator

I cannot make a task public from the interface
Screenshot 2024-09-04 at 7 55 43 PM

Making it public from django admin does not work.

@Didayolo Didayolo added the UI label Sep 4, 2024
@ihsaan-ullah
Copy link
Collaborator Author

ihsaan-ullah commented Sep 5, 2024

There is a condition in the task model that restricts tasks to be made public if not validated

self.is_public = self.is_public and self._validated

When you comment this condition you can make a task public from django admin and you can see the public tasks in resources page
Screenshot 2024-09-05 at 3 55 14 PM

When you click the public task, you get a 404 error and cannot see details of this task
Screenshot 2024-09-05 at 3 56 31 PM

Further we want people to use the public tasks. But we cannot see them when you edit a phase.
Screenshot 2024-09-05 at 4 28 40 PM

@ihsaan-ullah
Copy link
Collaborator Author

ihsaan-ullah commented Sep 5, 2024

Todos

  • Update UI to show make task public/private
  • Allow everyone to see public tasks in the resource interface
  • Allow everyone to see public task details in the resource interface
  • Allow everyone to use public tasks in their competitions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants