Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-proto
Merge requests
!7
F acm
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
F acm
f-acm
into
dev
Overview
0
Commits
17
Pipelines
3
Changes
1
Merged
Timm Fitschen
requested to merge
f-acm
into
dev
3 years ago
Overview
0
Commits
17
Pipelines
3
Changes
1
Expand
0
0
Merge request reports
Viewing commit
db8b8ea3
Prev
Next
Show latest version
1 file
+
23
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
db8b8ea3
WIP: acm
· db8b8ea3
Timm Fitschen
authored
3 years ago
proto/caosdb/acm/v1alpha1/main.proto
+
23
−
4
Options
@@ -82,8 +82,10 @@ message CreateSingleRoleRequest {
// The new role.
Role
role
=
1
;
}
// Response message for the CreateSingleRole RPC
message
CreateSingleRoleResponse
{}
// Request message for the <+TODO+> RPC
message
RetrieveSingleRoleRequest
{}
// Response message for the <+TODO+> RPC
@@ -101,11 +103,21 @@ message DeleteSingleRoleResponse {}
// USER STUFF
///////////////////////////////////////////
// UserStatus
enum
UserStatus
{
// The user status is unspecified/unknown.
USER_STATUS_UNSPECIFIED
=
0
;
// The user is inactive and cannot sign in.
USER_STATUS_INACTIVE
=
1
;
// The user is active and can sign in.
USER_STATUS_ACTIVE
=
2
;
}
// User
message
User
{
// Indicates whether the user is active. Only active users can sign in and
// interact with the CaosDB Server.
string
active
=
1
;
UserStatus
status
=
1
;
// Realm of this user. The realm is the authority which can authenticate this
// user, e.g. 'PAM' when the user is a (POSIX) user from the server's host, or
// 'CaosDB' when CaosDB Server itself can authenticate the user.
@@ -135,10 +147,17 @@ message ListUsersResponse {
repeated
User
users
=
2
;
}
// Request message for the <+TODO+> RPC
message
CreateSingleUserRequest
{}
// Response message for the <+TODO+> RPC
// Request message for the CreateSingleUser RPC
message
CreateSingleUserRequest
{
// The new user.
User
user
=
1
;
// The new password.
string
password
=
2
;
}
// Response message for the CreateSingeUser RPC
message
CreateSingleUserResponse
{}
// Request message for the <+TODO+> RPC
message
RetrieveSingleUserRequest
{}
// Response message for the <+TODO+> RPC
Loading