blob: a043daf2ffba2c4b20d27b594b747f248d87ac48 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Project_Unite
{
/// <summary>
/// Tells the Unite request router that this view/action requires administrative permissions.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class RequiresAdmin : Attribute
{
}
/// <summary>
/// Tells the Unite request router that this view/action requires developer permissions.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class RequiresDeveloper : Attribute
{
}
/// <summary>
/// Tells the Unite request router that this view/action requires moderator permissions.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class RequiresModerator : Attribute
{
}
}
|