branch | stable |
changeset 7219 | d961184f9a86 |
parent 7012 | 5ff6cb8bd2b3 |
child 7235 | 5a0ee8de7f06 |
--- a/server/schemaserial.py Wed Apr 13 11:34:53 2011 +0200 +++ b/server/schemaserial.py Wed Apr 13 12:50:31 2011 +0200 @@ -557,6 +557,8 @@ yield ('SET X %s_permission Y WHERE Y eid %%(g)s, X eid %%(x)s' % action, {'g': groupmap[group_or_rqlexpr]}) except KeyError: + print ("WARNING: group %s used in permissions for %s was ignored because it doesn't exist." + " You may want to add it into a precreate.py file" % (group_or_rqlexpr, erschema)) continue else: # rqlexpr