Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSquires committed Jun 17, 2024
1 parent 02a9a0c commit 541ce3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions synapse/lib/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4643,9 +4643,8 @@ async def confirmLayerEditPerms(self, user, gateiden, delete=False):

# edges
if not allow_edges:
async for _, verbabrv, _, _ in s_coro.pause(self.getEdges()):
verb = self.core.getAbrvIndx(verbabrv)
perm = perm_edges + verb
async for verb in s_coro.pause(self.getEdgeVerbs()):
perm = perm_edges + (verb,)
user.confirm(perm, gateiden=gateiden)

# tombstones
Expand Down

0 comments on commit 541ce3b

Please sign in to comment.