Extracted Volo.Abp.Permissions package.

pull/206/head
Halil İbrahim Kalkan 7 years ago
parent c6d59f84db
commit 9ec8ccf80d

@ -258,6 +258,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Abp.Settings.Domain.Sh
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Abp.Settings", "Abp.Settings", "{D62B8D43-B8D9-4FC6-97E2-DC54CD765915}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Permissions", "src\Volo.Abp.Permissions\Volo.Abp.Permissions.csproj", "{0FDD21F9-9E73-4DB5-8356-A110D3FBDB1D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -672,6 +674,10 @@ Global
{27F990E2-6820-4159-B54A-59C8ADED8D28}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27F990E2-6820-4159-B54A-59C8ADED8D28}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27F990E2-6820-4159-B54A-59C8ADED8D28}.Release|Any CPU.Build.0 = Release|Any CPU
{0FDD21F9-9E73-4DB5-8356-A110D3FBDB1D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0FDD21F9-9E73-4DB5-8356-A110D3FBDB1D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0FDD21F9-9E73-4DB5-8356-A110D3FBDB1D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0FDD21F9-9E73-4DB5-8356-A110D3FBDB1D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -797,6 +803,7 @@ Global
{61422EC8-8FFB-48EA-B4B5-527E29077930} = {37087D1B-3693-4E96-983D-A69F210BDE53}
{27F990E2-6820-4159-B54A-59C8ADED8D28} = {D62B8D43-B8D9-4FC6-97E2-DC54CD765915}
{D62B8D43-B8D9-4FC6-97E2-DC54CD765915} = {3B481ACC-5BB3-4189-880C-5F7A27EAEB70}
{0FDD21F9-9E73-4DB5-8356-A110D3FBDB1D} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BB97ECF4-9A84-433F-A80B-2A3285BDD1D5}

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\common.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Volo.Abp.Permissions</AssemblyName>
<PackageId>Volo.Abp.Permissions</PackageId>
<AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<RootNamespace />
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Volo.Abp.Core\Volo.Abp.Core.csproj" />
</ItemGroup>
</Project>

@ -0,0 +1,13 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;
namespace Volo.Abp.Permissions
{
public class AbpPermissionsModule : AbpModule
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddAssemblyOf<AbpPermissionsModule>();
}
}
}

@ -1,4 +1,4 @@
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public interface IPermissionDefinitionContext
{

@ -1,7 +1,7 @@
using System.Collections.Generic;
using JetBrains.Annotations;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public interface IPermissionDefinitionManager
{

@ -1,4 +1,4 @@
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public interface IPermissionDefinitionProvider
{

@ -2,7 +2,7 @@
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
//TODO: Change fallback to inherit?

@ -2,7 +2,7 @@
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public interface IPermissionStore
{

@ -1,7 +1,7 @@
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public interface IPermissionValueProvider
{

@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class NullPermissionStore : IPermissionStore, ISingletonDependency
{

@ -1,4 +1,4 @@
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class PermissionDefinition
{

@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class PermissionDefinitionContext : IPermissionDefinitionContext
{

@ -6,7 +6,7 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class PermissionDefinitionManager : IPermissionDefinitionManager, ISingletonDependency
{

@ -1,6 +1,6 @@
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public abstract class PermissionDefinitionProvider : IPermissionDefinitionProvider, ISingletonDependency
{

@ -1,6 +1,6 @@
using JetBrains.Annotations;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class PermissionGrantInfo
{

@ -6,7 +6,7 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class PermissionManager : IPermissionManager, ISingletonDependency
{

@ -1,4 +1,4 @@
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public static class PermissionManagerSyncExtensions
{

@ -1,6 +1,6 @@
using Volo.Abp.Collections;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public class PermissionOptions
{

@ -1,7 +1,7 @@
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.Authorization.Permissions
namespace Volo.Abp.Permissions
{
public abstract class PermissionValueProvider : IPermissionValueProvider, ISingletonDependency
{
Loading…
Cancel
Save