Skip to content

Sharing Public Tasks #5354

Answered by fguillot
aljawaid asked this question in Q&A
Sep 27, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Here is what I would do:

  • Add a new column in the tasks table (might be easier), but having a new table should work as well.
  • Add a new button in the task view to allow people sharing and stop sharing individual tasks. This button will likely trigger actions related to sharing and generating tokens.
  • Generate a new unique token only when a user decides to share an individual task. There's no need to generate tokens for all tasks in the project, as this could be resource-intensive and unnecessary.
  • Modify the method TaskViewController::readonly() to accept an optional task token. This ensures that existing URLs continue to work without any issues while allowing for task-specific sharing.
  • Do n…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@aljawaid
Comment options

Answer selected by aljawaid
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants