-
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.
cleaned up walnut and shrink the features for now so i can work on it…
… from time to time
- Loading branch information
1 parent
0e4d5a7
commit 427781c
Showing
86 changed files
with
308 additions
and
23,156 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
This file was deleted.
Oops, something went wrong.
Empty file.
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 was deleted.
Oops, something went wrong.
Binary file not shown.
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 was deleted.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
syntax = "proto3"; | ||
|
||
package walnut; | ||
|
||
// this are the 3 roles that a client can have | ||
enum Role { | ||
ADMIN = 0; // can add and delete modules | ||
USER = 1; // can start builds | ||
VIEWER = 2; // can only download roles but not execute remote builds | ||
} | ||
|
||
// ---- Auth service --- | ||
service AuthService { | ||
rpc Login(LoginRequest) returns (LoginResponse) {} | ||
} | ||
|
||
message LoginRequest { | ||
string username = 1; | ||
string password = 2; | ||
} | ||
|
||
message LoginResponse { | ||
bool successful = 1; | ||
string token = 2; | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.