User management fixed. Reports working now. Deployed
This commit is contained in:
17
Tanshu.Accounts.Contracts/Attributes/PermissionAttribute.cs
Normal file
17
Tanshu.Accounts.Contracts/Attributes/PermissionAttribute.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Tanshu.Accounts.Contracts
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Method)]
|
||||
public class PermissionAttribute : Attribute
|
||||
{
|
||||
public PermissionAttribute(RoleConstants role)
|
||||
{
|
||||
Role = role;
|
||||
}
|
||||
public RoleConstants Role { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user