To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit c32b5482 authored by Andrea Raguso's avatar Andrea Raguso
Browse files

update

parent 4704d6bc
This diff is collapsed.
...@@ -37,7 +37,8 @@ type ResourcesClient interface { ...@@ -37,7 +37,8 @@ type ResourcesClient interface {
// UpdateResource Updates the attributes of an existing Resource // UpdateResource Updates the attributes of an existing Resource
// @authorization : ADMIN // @authorization : ADMIN
UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*Resource, error) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*Resource, error)
// DeleteResource Deletes a Resource // DeleteResource Deletes a Resource, should not really be used since the resources should be marked for deletion
// instead of actually deleting them
// @authorization: ADMIN // @authorization: ADMIN
DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*empty.Empty, error) DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
// ListResourcePermissions lists all the resource permissions in the system // ListResourcePermissions lists all the resource permissions in the system
...@@ -159,7 +160,8 @@ type ResourcesServer interface { ...@@ -159,7 +160,8 @@ type ResourcesServer interface {
// UpdateResource Updates the attributes of an existing Resource // UpdateResource Updates the attributes of an existing Resource
// @authorization : ADMIN // @authorization : ADMIN
UpdateResource(context.Context, *UpdateResourceRequest) (*Resource, error) UpdateResource(context.Context, *UpdateResourceRequest) (*Resource, error)
// DeleteResource Deletes a Resource // DeleteResource Deletes a Resource, should not really be used since the resources should be marked for deletion
// instead of actually deleting them
// @authorization: ADMIN // @authorization: ADMIN
DeleteResource(context.Context, *DeleteResourceRequest) (*empty.Empty, error) DeleteResource(context.Context, *DeleteResourceRequest) (*empty.Empty, error)
// ListResourcePermissions lists all the resource permissions in the system // ListResourcePermissions lists all the resource permissions in the system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment