forked from vesoft-inc/nebula
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
User manager in meta (vesoft-inc#400)
* User manager of Meta Server * 1, Changed user data transport protocol from dataman to thrift. 2, Removed user property email and phone. 3, Added new user property lock status * 1,Refactor user processors code structure. 2,Remove user properties first name and last name. 3, Add new user properties of resource limit. 4, Changed related thrift structure from 'name' to 'id', 5,Add some comments for role. * To improve the drop space , on't delete useless role data * Rebased and added (raftex_obj raftex_thrift_obj wal_obj time_obj) to authentication_test module * Rebased and resolved some conflicts * Address laura-ding's comment * Resolved code alignment
- Loading branch information
Showing
18 changed files
with
1,303 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* Copyright (c) 2019 vesoft inc. All rights reserved. | ||
* | ||
* This source code is licensed under Apache 2.0 License, | ||
* attached with Common Clause Condition 1.0, found in the LICENSES directory. | ||
*/ | ||
|
||
|
||
#ifndef GRAPH_PERMISSIONMANAGER_H | ||
#define GRAPH_PERMISSIONMANAGER_H | ||
|
||
// Operation and permission define: | ||
// Operation | GOD | ADMIN | USER | GUEST | ||
// ---------------- | ------------- | ------------- | ------------- | ------------- | ||
// kGo | Y | Y | Y | Y | ||
// kSet | Y | Y | Y | Y | ||
// kPipe | Y | Y | Y | Y | ||
// kUse | Y | Y | Y | Y | ||
// kMatch | Y | Y | Y | Y | ||
// kAssignment | Y | Y | Y | Y | ||
// kCreateTag | Y | Y | | | ||
// kAlterTag | Y | Y | | | ||
// kCreateEdge | Y | Y | | | ||
// kAlterEdge | Y | Y | | | ||
// kDescribeTag | Y | Y | Y | Y | ||
// kDescribeEdge | Y | Y | Y | Y | ||
// kRemoveTag | Y | Y | | | ||
// kRemoveEdge | Y | Y | | | ||
// kInsertVertex | Y | Y | Y | | ||
// kInsertEdge | Y | Y | Y | | ||
// kShow | Y | Y | Y | Y | ||
// kDeleteVertex | Y | Y | Y | | ||
// kDeleteEdge | Y | Y | Y | | ||
// kFind | Y | Y | Y | Y | ||
// kAddHosts | Y | | | | ||
// kRemoveHosts | Y | | | | ||
// kCreateSpace | Y | | | | ||
// kDropSpace | Y | Y | | | ||
// kYield | Y | Y | Y | Y | ||
// kCreateUser | Y | | | | ||
// kDropUser | Y | | | | ||
// kAlterUser | Y | Y | Y | Y | ||
// kGrant | Y | Y | | | ||
// kRevoke | Y | Y | | | ||
// kChangePassword | Y | Y | Y | Y | ||
|
||
|
||
#endif // GRAPH_PERMISSIONMANAGER_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.