S2S: Group: Grant: Fix bug in Grant parsing
This commit is contained in:
parent
6cb1c11141
commit
248ed1f19f
1 changed files with 2 additions and 2 deletions
|
@ -1853,9 +1853,9 @@ groupGrant now groupID (Verse authorIdMsig body) grant = do
|
||||||
_ -> False
|
_ -> False
|
||||||
|
|
||||||
case (role, resourceIsAuthor, usage, mdeleg) of
|
case (role, resourceIsAuthor, usage, mdeleg) of
|
||||||
(AP.RXRole r, True, AP.GatherAndConvey, Nothing) ->
|
(AP.RXRole r, True, AP.Distribute, Nothing) ->
|
||||||
pure $ GKDelegationStart r
|
pure $ GKDelegationStart r
|
||||||
(AP.RXRole r, False, AP.GatherAndConvey, Just _) ->
|
(AP.RXRole r, False, AP.Distribute, Just _) ->
|
||||||
pure $ GKDelegationExtend r resource
|
pure $ GKDelegationExtend r resource
|
||||||
(AP.RXDelegator, True, AP.Invoke, Nothing) ->
|
(AP.RXDelegator, True, AP.Invoke, Nothing) ->
|
||||||
pure GKDelegator
|
pure GKDelegator
|
||||||
|
|
Loading…
Reference in a new issue