如果不止一个数据库,想给用户群组group1读取db1库中4个表的权限(db1中一共有6个表),要如何办?

请先 登录 后评论

1 个回答

陈枢之 - 工程师

参见文档:

https://www.dolphindb.cn/cn/help/FunctionsandCommands/CommandsReferences/g/grant.html?highlight=grant


grant(`group1, TABLE_READ, "dfs://db1/表1")

grant(`group1, TABLE_READ, "dfs://db1/表2")

grant(`group1, TABLE_READ, "dfs://db1/表3")

grant(`group1, TABLE_READ, "dfs://db1/表4")

请先 登录 后评论
  • 1 关注
  • 0 收藏,872 浏览
  • snake3342 提出于 2022-03-25 09:34

相似问题