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
Commits
db8b8ea3
Verified
Commit
db8b8ea3
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: acm
parent
69733f6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!8
Release 0.2
,
!7
F acm
Pipeline
#15952
passed
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/caosdb/acm/v1alpha1/main.proto
+23
-4
23 additions, 4 deletions
proto/caosdb/acm/v1alpha1/main.proto
with
23 additions
and
4 deletions
proto/caosdb/acm/v1alpha1/main.proto
+
23
−
4
View file @
db8b8ea3
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment