Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSquires committed Jun 12, 2024
1 parent 247811d commit 340afb5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions synapse/lib/hiveauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,17 +1067,6 @@ async def genGateInfo(self, gateiden):
return info

def confirm(self, perm, default=None, gateiden=None):
# PROP_SET_PREFIX = ('node', 'prop', 'set')
# PROP_DEL_PREFIX = ('node', 'prop', 'del')

# if perm[:len(PROP_SET_PREFIX)] == PROP_SET_PREFIX:
# prop = perm[len(PROP_SET_PREFIX):]
# self._confirmPropSet(prop, layriden=gateiden)

# elif perm[:len(PROP_DEL_PREFIX)] == PROP_DEL_PREFIX:
# prop = perm[len(PROP_DEL_PREFIX):]
# self._confirmPropDel(prop, layriden=gateiden)

if not self.allowed(perm, default=default, gateiden=gateiden):
self.raisePermDeny(perm, gateiden=gateiden)

Expand Down

0 comments on commit 340afb5

Please sign in to comment.