You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dolphinscheduler.apache.org by 向偲彪 <xi...@qq.com> on 2020/03/25 01:48:16 UTC
[Suggestion]There are several suggestions for resource management
hiThere are several suggestions for resource management:
1. Can resources be distinguished from personal resources and public resources? Personal resources can only be used by current users. Current users can also change personal resources to public resources. All users of public resources can use them. When admin authorizes, public resources can be authorized. To the user
2. When a common user deletes a resource, if the resource is associated with a task, the task association must be canceled. A task viewing function can be added here to see which tasks are associated with the current resource, and the tasks under the current resource can be removed in batches.
3. The same resource is associated with multiple users. If user A deletes a resource, it does not affect user B's reference to the resource.
4. If the admin deletes a resource, the user who uses the resource must be informed
关于资源管理有几点建议:
1.资源是不是可以区分个人资源和公共资源,个人资源只能当前用户使用,当前用户也能将个人资源改成公共资源,公共资源所有用户都能用,admin授权时,可以将公共资源授权给用户
2.普通用户删除资源时,如果该资源关联了任务,必须取消任务关联,这里可以增加一个任务查看功能,查看当前资源关联了自己哪些任务,并且可以批量移除当前资源下的任务
3.同一资源被多个用户关联,如果A用户删除了某个资源,并不影响B用户对该资源的引用
4.如果admin删除某个资源,必须知会所用到该资源的用户
Best Regards
---------------
DolphinScheduler(Incubator) committer
Caibiao Xiang 向偲彪
790061044@qq.com
---------------
Re: [Suggestion]There are several suggestions for resource management
Posted by lidong dai <da...@gmail.com>.
very good idea. I agree with you, and I have a small quesion:
1. Can resources be distinguished from personal resources and public
resources? Personal resources can only be used by current users. Current
users can also change personal resources to public resources. All users of
public resources can use them. When admin authorizes, public resources can
be authorized. To the user
> I don't think we need to distinguish the resources through the above
method, I think when we redesign the privilege module, use "privilage -
role - resource " 。when you are authorized , you can use, if not , you
can't use the resource. can this method achieve ‘distinguish the resources’
goals ? welcome to disscussion if you are interested in this topic
-----
我觉得不需要区分资源,当权限重新设计后,使用“用户 - 角色 - 权限 ”是否可以达到区分资源的效果?欢迎讨论
Best Regards
---------------
DolphinScheduler(Incubator) PPMC
Lidong Dai 代立冬
dailidong66@gmail.com
---------------
向偲彪 <xi...@qq.com> 于2020年3月25日周三 上午9:48写道:
> hiThere are several suggestions for resource management:
> 1. Can resources be distinguished from personal resources and public
> resources? Personal resources can only be used by current users. Current
> users can also change personal resources to public resources. All users of
> public resources can use them. When admin authorizes, public resources can
> be authorized. To the user
> 2. When a common user deletes a resource, if the resource is associated
> with a task, the task association must be canceled. A task viewing function
> can be added here to see which tasks are associated with the current
> resource, and the tasks under the current resource can be removed in
> batches.
> 3. The same resource is associated with multiple users. If user A deletes
> a resource, it does not affect user B's reference to the resource.
> 4. If the admin deletes a resource, the user who uses the resource must be
> informed
>
>
>
> 关于资源管理有几点建议:
>
> 1.资源是不是可以区分个人资源和公共资源,个人资源只能当前用户使用,当前用户也能将个人资源改成公共资源,公共资源所有用户都能用,admin授权时,可以将公共资源授权给用户
>
> 2.普通用户删除资源时,如果该资源关联了任务,必须取消任务关联,这里可以增加一个任务查看功能,查看当前资源关联了自己哪些任务,并且可以批量移除当前资源下的任务
> 3.同一资源被多个用户关联,如果A用户删除了某个资源,并不影响B用户对该资源的引用
> 4.如果admin删除某个资源,必须知会所用到该资源的用户
>
>
>
> Best Regards
> ---------------
> DolphinScheduler(Incubator) committer
> Caibiao Xiang 向偲彪
> 790061044@qq.com
> ---------------
回复: [Suggestion]There are several suggestions for resource management
Posted by "lgcareer2019@outlook.com" <lg...@outlook.com>.
Thanks for your suggestion.
1、If you create the resource,only you and the administrator can delete it.
2、Only administrator can authorize the resource,if the administrator authorized it to other user,then other user can has the permission of read and modify but delete.
3、If you delete the resource,it will be deleted in hdfs.So the user can't use it.Beacause when administrator authorizes the resource,it don't copy resource to other user.
Welcome everyone can tell your suggest and more designs.
For example,What should we design in order to reach the target[1].
[1]The same resource is associated with multiple users. If user A deletes a resource, it does not affect user B's reference to the resource.
DolphinScheduler(Incubator) PPMC
Gang Li 李岗
lgcareer2019@outlook.com<ma...@outlook.com>
发件人: 向偲彪
发送时间: 2020-03-25 09:48
收件人: dev
主题: [Suggestion]There are several suggestions for resource management
hiThere are several suggestions for resource management:
1. Can resources be distinguished from personal resources and public resources? Personal resources can only be used by current users. Current users can also change personal resources to public resources. All users of public resources can use them. When admin authorizes, public resources can be authorized. To the user
2. When a common user deletes a resource, if the resource is associated with a task, the task association must be canceled. A task viewing function can be added here to see which tasks are associated with the current resource, and the tasks under the current resource can be removed in batches.
3. The same resource is associated with multiple users. If user A deletes a resource, it does not affect user B's reference to the resource.
4. If the admin deletes a resource, the user who uses the resource must be informed
关于资源管理有几点建议:
1.资源是不是可以区分个人资源和公共资源,个人资源只能当前用户使用,当前用户也能将个人资源改成公共资源,公共资源所有用户都能用,admin授权时,可以将公共资源授权给用户
2.普通用户删除资源时,如果该资源关联了任务,必须取消任务关联,这里可以增加一个任务查看功能,查看当前资源关联了自己哪些任务,并且可以批量移除当前资源下的任务
3.同一资源被多个用户关联,如果A用户删除了某个资源,并不影响B用户对该资源的引用
4.如果admin删除某个资源,必须知会所用到该资源的用户
Best Regards
---------------
DolphinScheduler(Incubator) committer
Caibiao Xiang 向偲彪
790061044@qq.com
---------------