vesoft-inc / nebula-graph

A distributed, fast open-source graph database featuring horizontal scalability and high availability. This is an archived repo for v2.5 only, from 2.6.0 +, NebulaGraph switched back to https://github.com/vesoft-inc/nebula

Home Page:https://nebula-graph.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i want to export privileges data only

riverzzz opened this issue · comments

Summary

i want to export privileges data only.

Motivation

i create a new cluster and i change space partitions,so i do not need data info.but i have grant privilege to too many users in old cluster,so i want to export privileges data or privileges sql.

I think you could do it now already.

  1. show spaces to get all spaces
  2. show create space <> to get query to create space
  3. show users to get all users, then assemble the create user query
  4. show roles in <> to get all permission in space, then you could assemble the grant query.

Will close it as it's been inactive for days. Feel free to reopen it.