Commit acfe7188 authored by Sirieam Marie Hunke's avatar Sirieam Marie Hunke
Browse files

Update: Reverted changes (coscine/issues#2155)

parent 14fbdebb
Pipeline #750607 passed with stages
in 2 minutes and 19 seconds
......@@ -41,7 +41,7 @@ public class ResourceTypeInformation
public bool CanUpdate { get; set; }
/// <summary>
/// Supports updating
/// Supports updating (not an Object)
/// </summary>
public bool CanUpdateResource { get; set; }
......@@ -51,7 +51,7 @@ public class ResourceTypeInformation
public bool CanDelete { get; set; }
/// <summary>
/// Supports deletion
/// Supports deletion (not an Object)
/// </summary>
public bool CanDeleteResource { get; set; }
......
......@@ -3,7 +3,7 @@
"CanRead": true,
"CanSetResourceReadonly": false,
"CanUpdate": true,
"CanUpdateResource": false,
"CanUpdateResource": false ,
"CanDelete": true,
"CanDeleteResource": false,
"CanList": true,
......
......@@ -371,7 +371,7 @@ public class RdsResourceType : BaseResourceType
public override Task UpdateResource(string id, Dictionary<string, string>? options = null)
{
return Task.CompletedTask;
throw new NotImplementedException();
}
public override Task<bool> IsResourceCreated(string id, Dictionary<string, string>? options = null)
......@@ -381,6 +381,6 @@ public class RdsResourceType : BaseResourceType
public override Task DeleteResource(string id, Dictionary<string, string>? options = null)
{
return Task.CompletedTask;
throw new NotImplementedException();
}
}
\ No newline at end of file
......@@ -3,7 +3,9 @@
"CanRead": true,
"CanSetResourceReadonly": true,
"CanUpdate": true,
"CanUpdateResource": false,
"CanDelete": true,
"CanDeleteResource": false,
"CanList": true,
"CanCreateLinks": true,
"IsArchived": false,
......
......@@ -395,7 +395,7 @@ public class RdsS3ResourceType : BaseResourceType
public override Task UpdateResource(string id, Dictionary<string, string>? options = null)
{
return Task.CompletedTask;
throw new NotImplementedException();
}
public override Task<bool> IsResourceCreated(string id, Dictionary<string, string>? options = null)
......@@ -405,6 +405,6 @@ public class RdsS3ResourceType : BaseResourceType
public override Task DeleteResource(string id, Dictionary<string, string>? options = null)
{
return Task.CompletedTask;
throw new NotImplementedException();
}
}
\ No newline at end of file
......@@ -3,7 +3,9 @@
"CanRead": true,
"CanSetResourceReadonly": true,
"CanUpdate": true,
"CanUpdateResource": false,
"CanDelete": true,
"CabDeleteResource": false,
"CanList": true,
"CanCreateLinks": true,
"IsArchived": false,
......
......@@ -389,7 +389,7 @@ namespace Coscine.ResourceTypes.RdsWorm
public override Task UpdateResource(string id, Dictionary<string, string>? options = null)
{
return Task.CompletedTask;
throw new NotImplementedException();
}
public override Task<bool> IsResourceCreated(string id, Dictionary<string, string>? options = null)
......
......@@ -3,7 +3,9 @@
"CanRead": true,
"CanSetResourceReadonly": true,
"CanUpdate": false,
"CanUpdateResource": false,
"CanDelete": false,
"CanDeleteResource": false,
"CanList": true,
"IsArchived": false,
"IsQuotaAvailable": true,
......
Supports Markdown
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