Great,I think we can discuss the other aspect. If add the `state` in table 
t_ds_user.It will also change other places.
Such as the following.
1、If a user created the process definition or resource or datasource,We change 
the user state from enable to disable,the resource or datasource should also 
disable.
2、If a user is disable,Whether it can create the resource or datasource?


DolphinScheduler(Incubator) PPMC
Gang Li 李岗

[email protected]<mailto:[email protected]>
 
发件人: wenhemin
发送时间: 2020-04-26 11:23
收件人: dev
主题: [DISCUSS] Add "state" field to table t_ds_user
hello, friends!
 
The issue: https://github.com/apache/incubator-dolphinscheduler/issues/1923 
<https://github.com/apache/incubator-dolphinscheduler/issues/1923>
Need to add a “state” field, Control whether users can log in to the system.
 
Sql : ALTER TABLE t_ds_user ADD `state` int(1) DEFAULT 1 COMMENT 'state 
0:disable 1:enable';
 
The PR: https://github.com/apache/incubator-dolphinscheduler/pull/2424 
<https://github.com/apache/incubator-dolphinscheduler/pull/2424>

Reply via email to