Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CloWM UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
Computational Metagenomics
CloWM
CloWM UI
Merge requests
!88
Resolve "Add admin User view"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Add admin User view"
feature/91-add-admin-user-view
into
main
Overview
0
Commits
1
Pipelines
0
Changes
18
Merged
Daniel Göbel
requested to merge
feature/91-add-admin-user-view
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
18
Expand
Closes
#91 (closed)
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
83f6a95c
1 commit,
1 year ago
18 files
+
311
−
48
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
Search (e.g. *.vue) (Ctrl+P)
src/client/resource/services/ResourceVersionService.ts
+
30
−
1
Options
@@ -129,11 +129,40 @@ export class ResourceVersionService {
},
});
}
/**
* Deny synchronization request to cluster
* Deny the synchronization request of the resource version to the cluster.
*
* Permission `resource:sync` required.
* @param rid
* @param rvid
* @returns ResourceVersionOut Successful Response
* @throws ApiError
*/
public
static
resourceVersionResourceVersionSyncDeny
(
rid
:
string
,
rvid
:
string
,
):
CancelablePromise
<
ResourceVersionOut
>
{
return
__request
(
OpenAPI
,
{
method
:
'
PUT
'
,
url
:
'
/resources/{rid}/versions/{rvid}/deny
'
,
path
:
{
'
rid
'
:
rid
,
'
rvid
'
:
rvid
,
},
errors
:
{
400
:
`Error decoding JWT Token`
,
403
:
`Not authenticated`
,
404
:
`Entity not Found`
,
422
:
`Validation Error`
,
},
});
}
/**
* Synchronize resource version with cluster
* Synchronize the resource version to the cluster.
*
* Permission `resource:sync` required.
* Permission `resource:sync` required
and `resource:sync_denied` if the status is `DENIED`
.
* @param rid
* @param rvid
* @returns ResourceVersionOut Successful Response
Loading