Add auth interceptor
This commit is contained in:
@@ -79,10 +79,11 @@ message User {
|
||||
string username = 2;
|
||||
bytes hashed_password = 3;
|
||||
enum Role {
|
||||
UNAPPROVED = 0;
|
||||
UNKNOWN = 0;
|
||||
VIEWONLY = 1;
|
||||
USER = 2;
|
||||
ADMIN = 3;
|
||||
UNAPPROVED = 4;
|
||||
}
|
||||
Role user_role = 4;
|
||||
bool active = 5;
|
||||
|
Reference in New Issue
Block a user