Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-cpplib
Merge requests
!42
Release 0.2.0
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Closed
Release 0.2.0
release-0.2.0
into
main
Overview
0
Commits
87
Pipelines
1
Changes
3
Closed
Timm Fitschen
requested to merge
release-0.2.0
into
main
2 years ago
Overview
0
Commits
87
Pipelines
1
Changes
3
0
0
Merge request reports
Viewing commit
a5b7293b
Prev
Next
Show latest version
3 files
+
27
−
24
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Verified
a5b7293b
update cxxcaosdbcli
· a5b7293b
Timm Fitschen
authored
3 years ago
include/caosdb/connection.h
+
4
−
4
View file @ a5b7293b
Show full file
@@ -111,18 +111,18 @@ public:
*/
[[
nodiscard
]]
auto
ListRoles
()
const
->
std
::
vector
<
Role
>
;
[[
nodiscard
]]
auto
RetrieveSingleRole
(
std
::
string
name
)
const
->
Role
;
[[
nodiscard
]]
auto
RetrieveSingleRole
(
const
std
::
string
&
name
)
const
->
Role
;
auto
CreateSingleRole
(
const
Role
&
role
)
const
->
void
;
auto
DeleteSingleRole
(
std
::
string
name
)
const
->
void
;
auto
DeleteSingleRole
(
const
std
::
string
&
name
)
const
->
void
;
/**
* Retrieve a single user.
*/
// TODO(tf) find a way to deal with this:
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
[[
nodiscard
]]
auto
RetrieveSingleUser
(
std
::
string
realm
,
std
::
string
name
)
const
->
User
;
[[
nodiscard
]]
auto
RetrieveSingleUser
(
const
std
::
string
&
realm
,
const
std
::
string
&
name
)
const
->
User
;
/**
* Create a new user.
@@ -134,7 +134,7 @@ public:
*/
// TODO(tf) find a way to deal with this:
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
auto
DeleteSingleUser
(
std
::
string
realm
,
std
::
string
name
)
const
->
void
;
auto
DeleteSingleUser
(
const
std
::
string
&
realm
,
const
std
::
string
&
name
)
const
->
void
;
#endif
private
:
Loading