Updates the model used to store and retreive permissions, instead of a single string it is an Enumerable<string> which gives us some flexibility in the future and since this was not public (yet) it's the perfect time to do this. Removes the base Profile classes from User since these are not required, since we cannot share base classes between Member and User, these weren't necessary.
18 lines
448 B
C#
18 lines
448 B
C#
using System;
|
|
using Umbraco.Core.Models.Membership;
|
|
|
|
namespace Umbraco.Core.Models
|
|
{
|
|
public interface IMember : IContentBase, IMembershipUser
|
|
{
|
|
/// <summary>
|
|
/// String alias of the default ContentType
|
|
/// </summary>
|
|
string ContentTypeAlias { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the ContentType used by this content object
|
|
/// </summary>
|
|
IMemberType ContentType { get; }
|
|
}
|
|
} |