1. mydan checkuser

请查看之前仓库管理章节

1.1. 查看用户状态

root@feng:# mydan checkuser --email lijinfeng
active
  • 这是仓库管理中用到的插件,用于判断用户是处于什么状态,比如是否离职。
  • 仓库管理需要把已离职人员的git和svn账号给block掉。

1.2. 插件

  • 您需要实现自己的插件 /opt/mydan/dan/code/plugin/checkuser.private
  • 默认调用/opt/mydan/dan/code/plugin/checkuser插件,返回active状态。
Copyright 2017 - 2018. all right reserved,powered by Gitbook该文件修订时间: 2020-07-16 18:11:39

results matching ""

    No results matching ""