Initial design of security concepts

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4039261
This commit is contained in:
loudej
2009-11-09 23:31:30 +00:00
parent ace78cfd33
commit 187b228489
3 changed files with 16 additions and 0 deletions

View File

@@ -145,6 +145,8 @@
<Compile Include="Notify\NotifierExtensions.cs" />
<Compile Include="Notify\NotifyEntry.cs" />
<Compile Include="Notify\NotifyFilter.cs" />
<Compile Include="Security\IPermissionProvider.cs" />
<Compile Include="Security\Permission.cs" />
<Compile Include="Services\Clock.cs" />
<Compile Include="Storage\FileSystemStorageProvider.cs" />
<Compile Include="Storage\IStorageFile.cs" />

View File

@@ -0,0 +1,8 @@
using System.Collections.Generic;
namespace Orchard.Security {
public interface IPermissionProvider {
string PackageName { get; }
IEnumerable<Permission> GetPermissions();
}
}

View File

@@ -0,0 +1,6 @@
namespace Orchard.Security {
public class Permission {
public string Name { get; set; }
public string Description { get; set; }
}
}