We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daa9537 + 2fb2fa0 commit 2f2e742Copy full SHA for 2f2e742
Micro.AppRegistration.Api/GraphQL/Directives/RequirePermissionDirective.cs
@@ -18,6 +18,12 @@ public RequirePermissionDirective() : base(
18
DirectiveLocation.Query,
19
DirectiveLocation.FieldDefinition)
20
{
21
+ Description = "Used to check if a user has a set of permission";
22
+ Arguments = new QueryArguments(new QueryArgument<NonNullGraphType<StringGraphType>>
23
+ {
24
+ Name = "permission",
25
+ Description = "Permission to check for",
26
+ });
27
}
28
29
public class RequirePermissionDirectiveVisitor : BaseSchemaNodeVisitor
0 commit comments