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.
1 parent cc2b928 commit 9076433Copy full SHA for 9076433
src/Services.Core/PermissionQuery.cs
@@ -27,7 +27,7 @@ public string Type
27
return "deniedandallowed";
28
if (AllowedFrom.Count > 0)
29
return "allowed";
30
- if (AllowedFrom.Count > 0)
+ if (DeniedFrom.Count > 0)
31
return "denied";
32
return null;
33
}
@@ -81,6 +81,8 @@ private class PermissionSource
81
/// ]
82
/// </code>
83
/// </example>
84
+ [AllowedRoles(N.R.Everyone)]
85
+ [RequiredPermissions(N.P.SeePermissions)]
86
[ODataFunction(Category = "Permissions")]
87
public static object GetPermissionOverview(Content content, string identity)
88
{
0 commit comments