Commit 373cee92 authored by Benjamin "Ziirish" SANS's avatar Benjamin "Ziirish" SANS

fix: wrong key in agents grants (fix #264)

parent 1292ce58
......@@ -340,7 +340,7 @@ class BUIgrantHandler(BUImetaGrant, BUIacl):
def _extract_agents(self, username):
ret = self._extract_grants(username)
return ret.get('advanced', [])
return ret.get('agents', [])
def _extract_advanced(self, username, idx=None):
ret = self._extract_grants(username).get('advanced', [])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment