Skip to content
Permalink
Browse files

Fix the user_grant() bypass for raw socket protocol

  • Loading branch information...
cvaroqui committed Jun 29, 2019
1 parent 183c3df commit e019db00575c22526ac7901e76abffb9772dd077
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/osvcd_lsnr.py
@@ -1068,6 +1068,8 @@ def get_all_ns(self):
return data

def user_grants(self, all_ns=None):
if self.usr is False or self.tls is False:
return {"root": None}
grants = self.usr.oget("DEFAULT", "grant")
return self.parse_grants(grants, all_ns=all_ns)

0 comments on commit e019db0

Please sign in to comment.
You can’t perform that action at this time.