Fix #2687 - add Setters to Permissions property to provide improved backward compatibility

This commit is contained in:
Shaun Walker
2023-03-16 13:26:18 -04:00
parent 497ef1750b
commit 00f039d31e
5 changed files with 24 additions and 0 deletions

View File

@ -121,6 +121,10 @@ namespace Oqtane.Models
{
return JsonSerializer.Serialize(PermissionList);
}
set
{
PermissionList = JsonSerializer.Deserialize<List<Permission>>(value);
}
}
#endregion