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

希望增加允许general用户管理由自己创建的任务的功能 #7398

Closed
4 tasks done
KirCute opened this issue Oct 24, 2024 · 0 comments · Fixed by #7416
Closed
4 tasks done

希望增加允许general用户管理由自己创建的任务的功能 #7398

KirCute opened this issue Oct 24, 2024 · 0 comments · Fixed by #7416
Labels
enhancement New feature or request

Comments

@KirCute
Copy link
Contributor

KirCute commented Oct 24, 2024

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

目前只有admin用户能在“管理”中看到和取消所有离线下载、上传、复制任务,general用户只能在管理中看到个人资料、关于、文档和主页。如果系统有多个用户在使用,则其它general用户无法知道任务进度,也无法中途取消进度,希望增加这一功能。

Suggested solution / 实现思路

No response

Additional context / 附件

No response

@KirCute KirCute added the enhancement New feature or request label Oct 24, 2024
@xhofe xhofe closed this as completed in 64ceb5a Nov 1, 2024
xrgzs pushed a commit to xrgzs/alist that referenced this issue Nov 16, 2024
…lose AlistGo#7398)

* feat: support general users view and cancel own tasks

Add a creator attribute to the upload, copy and offline download
tasks, so that a GENERAL task creator can view and cancel them.

BREAKING CHANGE:

1. A new internal package `task` including the struct `TaskWithCreator`
   which embeds `tache.Base` is created, and the past dependence on
   `tache.Task` will all be transferred to dependence on this package.
2. The API `/admin/task` can now also be accessed via `/task`, and the
   old endpoint is retained to ensure compatibility with legacy
   automation scripts.

Closes AlistGo#7398

* fix(deps): update github.com/xhofe/tache to v0.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant