-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1,Refactor user processors code structure. 2,Remove user properties f…
…irst 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.
- Loading branch information
boshengchen
committed
Jun 3, 2019
1 parent
d95be2f
commit 25813b6
Showing
9 changed files
with
198 additions
and
100 deletions.
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
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
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.