Add binaryservice

This commit is contained in:
2021-12-08 05:42:25 +01:00
parent aacbeed1e3
commit ee7c48dad7
15 changed files with 965 additions and 111 deletions

View File

@@ -85,5 +85,5 @@ func UserIDFromContext(ctx context.Context) string {
func RoleAtLeast(ctx context.Context, role pb.User_Role) bool {
ctxRole := RoleFromContext(ctx)
return ctxRole > role
return ctxRole >= role
}