troikkonen wrote:
Before it was in
UserPermissionDefinitionProvider
and not it is in
UserGroupPermissionDefinitionProvider
Removing a similar record from the IUserGroupPermissionDefinition data type should fix it.
troikkonen wrote:
Unfortunately the error appears to be the same:It isn't exactly the same :)
Before it was in
UserPermissionDefinitionProvider
and not it is in
UserGroupPermissionDefinitionProvider
Removing a similar record from the IUserGroupPermissionDefinition data type should fix it.
troikkonen wrote:
but I cannot see the new static data type in the Data section of the C1 ConsoleTry putting the following code in the same dll, where you have the defined data types. We'll update the related documentation page
using System.Linq;
using Composite.Core.Application;
using Composite.Data;
using Composite.Data.DynamicTypes;
namespace YourWebsiteName
{
[ApplicationStartup]
public static class StatupHandler
{
public static void OnBeforeInitialize() {}
public static void OnInitialized()
{
var dataTypes = typeof(StatupHandler).Assembly.GetTypes().Where(typeof(IData).IsAssignableFrom);
foreach (var dataType in dataTypes)
{
DynamicTypeManager.EnsureCreateStore(dataType);
}
}
}
}