系统管理-->全局安全配置---勾选允许用户注册
注册用户完成后立即关闭注册,比如我注册了(dev, test),现在我一共有3个用户,root是管理员拥有所有权限
系统管理-->全局安全配置-->授权策略
授权说明:
root拥有所有的权限
dev、test目前设置的权限只能登陆,进去之后是看不到任何项目的
编辑项目,勾选启用项目安全
该项目对dev用户有读取和构建的权限。root拥有所有权限,test无权限