forked from casbin/casbin-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working server with only one adapter/model
You can now specify on the command line the model to use, so that is not under the client's responsability. The client should only know the server's url. It's on the server's responsability to create the adapter, read the model and load policies. Change-Id: Ib7c5ef4454e58c09e56a9bea0407b4f61d301814 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
- Loading branch information
Loïc Collignon
committed
Aug 21, 2019
1 parent
5b17273
commit fd5f4d1
Showing
6 changed files
with
65 additions
and
72 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 |
---|---|---|
|
@@ -14,3 +14,4 @@ casbin-server | |
|
||
.idea/ | ||
*.iml | ||
.vscode/ |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -67,7 +67,6 @@ service Casbin { | |
} | ||
|
||
message NewEnforcerRequest { | ||
string modelText = 1; | ||
} | ||
|
||
message NewEnforcerReply { | ||
|
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