You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
584 B
16 lines
584 B
3 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
using Volo.Abp.Authorization.Permissions;
|
||
|
|
||
|
namespace Sanhe.Abp.MenuManagement
|
||
|
{
|
||
|
public interface IMenuManager
|
||
|
{
|
||
|
IReadOnlyList<PermissionDefinition> GetPermissions(string providerName);
|
||
|
Task<MenuWithGrantedProviders> GetAsync(Guid menuId, string providerName, string providerKey);
|
||
|
Task SetAsync(Guid menuId, string providerName, string providerKey, bool isGranted);
|
||
|
Task UpdatePermissionGrantAsync(Guid menuId, string oldPermission, string newPermission);
|
||
|
}
|
||
|
}
|