Commit 5be45610 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in handling non-class-based meta types.

parent 733a4555
......@@ -158,6 +158,7 @@ class ProductContext:
if permissions is None:
permissions=[]
if hasattr(instance_class, '__ac_permissions__'):
for p in instance_class.__ac_permissions__:
if len(p) > 2: permissions.append((p[0],p[2]))
else: permissions.append(p[0])
......
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