+14
-1
lines changedFilter options
+14
-1
lines changed Original file line number Diff line number Diff line change
@@ -4,12 +4,13 @@
4
4
using Signum.Engine.Basics;
5
5
using Microsoft.AspNetCore.Mvc;
6
6
using Microsoft.AspNetCore.Authorization;
7
+
using Signum.React.Filters;
7
8
8
9
namespace Signum.React.ApiControllers
9
10
{
10
11
public class ReflectionController : ControllerBase
11
12
{
12
-
[HttpGet("api/reflection/types"), AllowAnonymous]
13
+
[HttpGet("api/reflection/types"), SignumAllowAnonymous]
13
14
public Dictionary<string, TypeInfoTS> Types()
14
15
{
15
16
return ReflectionServer.GetTypeInfoTS();
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
1
+
using System;
2
+
using System.Collections.Generic;
3
+
using System.Linq;
4
+
using System.Threading.Tasks;
5
+
6
+
namespace Signum.React.Filters
7
+
{
8
+
[System.AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = false)]
9
+
public sealed class SignumAllowAnonymousAttribute : Attribute
10
+
{
11
+
}
12
+
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4