Method | Description | |
---|---|---|
Add ( |
||
AddRange ( IEnumerable |
||
GetActualPermissions ( ) : IEnumerable |
get all permissions that it's id in ids
|
|
GetActualPermissions ( List |
||
GetAllPermissions ( ) : Task |
||
GetAsSelectList ( ) : Task |
||
GetByName ( string name ) : |
||
GetPermissionByRoleIdsAync ( int roleIds ) : Task |
||
GetPermissionIdsByRoleId ( int roleId ) : Task |
||
GetPermissionsByRoleId ( int roleId ) : Task |
||
GetPermissionsWithIds ( ) : Task |
get all permissionIds that it's id in ids or it's parentIs in ids
|
|
GetPermissionsWithUserId ( int userId ) : IList |
||
GetUserPermissions ( int roleIds, int userId ) : IList |
||
HasDirectAccess ( int userId, string areaName, string controllerName, string dependencyActionNames ) : bool | ||
IsAnyPermissionInDb ( ) : bool | ||
PermissionService ( System.Web.HttpContextBase httpContextBase, IUnitOfWork unitOfWork, IMappingEngine mappingEngine ) : System.Collections.Generic | ||
RemoveAll ( ) : System.Threading.Tasks.Task | ||
SeedDatabase ( IEnumerable |
public Add ( |
||
permission | ||
return | void |
public AddRange ( IEnumerable |
||
permissions | IEnumerable |
|
return | void |
public GetActualPermissions ( ) : IEnumerable |
||
return | IEnumerable |
public GetActualPermissions ( List |
||
permissions | List |
|
return | IEnumerable |
public GetByName ( string name ) : |
||
name | string | |
return |
public GetPermissionByRoleIdsAync ( int roleIds ) : Task |
||
roleIds | int | |
return | Task |
public GetPermissionIdsByRoleId ( int roleId ) : Task |
||
roleId | int | |
return | Task |
public GetPermissionsByRoleId ( int roleId ) : Task |
||
roleId | int | |
return | Task |
public GetPermissionsWithUserId ( int userId ) : IList |
||
userId | int | |
return | IList |
public GetUserPermissions ( int roleIds, int userId ) : IList |
||
roleIds | int | |
userId | int | |
return | IList |
public HasDirectAccess ( int userId, string areaName, string controllerName, string dependencyActionNames ) : bool | ||
userId | int | |
areaName | string | |
controllerName | string | |
dependencyActionNames | string | |
return | bool |
public PermissionService ( System.Web.HttpContextBase httpContextBase, IUnitOfWork unitOfWork, IMappingEngine mappingEngine ) : System.Collections.Generic | ||
httpContextBase | System.Web.HttpContextBase | |
unitOfWork | IUnitOfWork | |
mappingEngine | IMappingEngine | |
return | System.Collections.Generic |
public RemoveAll ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public SeedDatabase ( IEnumerable |
||
permissions | IEnumerable |
|
return | void |