ContentApp Show/Hide per user Role
Making content app work show hide in manifest work for user roles. for example:
"show": [
"+role/admin"
]
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
namespace Umbraco.Core.Models.ContentEditing
|
||||
using System.Collections.Generic;
|
||||
using Umbraco.Core.Models.Membership;
|
||||
|
||||
namespace Umbraco.Core.Models.ContentEditing
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a content app definition.
|
||||
@@ -15,6 +18,6 @@
|
||||
/// the content app should be displayed or not, and return either a <see cref="ContentApp"/>
|
||||
/// instance, or null.</para>
|
||||
/// </remarks>
|
||||
ContentApp GetContentAppFor(object source);
|
||||
ContentApp GetContentAppFor(object source, IEnumerable<IReadOnlyUserGroup> userGroups);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user