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 55337f8 commit c8d053cCopy full SHA for c8d053c
src/ResourceManager/Relay/Commands.Relay/Models/AuthorizationRuleAttributes.cs
@@ -52,14 +52,10 @@ public AuthorizationRuleAttributes(AuthorizationRule authorizationrule)
52
53
Rights = new List<string>();
54
55
- foreach (AccessRights teset in authorizationrule.Rights)
+ foreach (AccessRights rights in authorizationrule.Rights)
56
{
57
- Rights.Add(teset.ToString());
58
- }
59
- //Rights = authorizationrule.Rights.Select(x => Enum.Parse(typeof(AccessRights?), x))
60
- // .Cast<AccessRights?>()
61
- // .ToList()
62
- // Rights = authorizationrule.Rights;
+ Rights.Add(rights.ToString());
+ }
63
}
64
65
0 commit comments