Commit 023abfa1 authored by Tres Seaver's avatar Tres Seaver

Rest of patch for LP#245649.

parent 10599248
......@@ -603,7 +603,8 @@ class RoleManager(ExtensionClass.Base, PermissionMapping.RoleManager):
def possible_permissions(self):
d={}
for p in Products.__ac_permissions__:
Products_permissions = getattr(Products, '__ac_permissions__', ())
for p in Products_permissions:
d[p[0]]=1
for p in self.aq_acquire('_getProductRegistryData')('ac_permissions'):
d[p[0]]=1
......
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