[Mon Jun 15 12:09:21 2009] ERROR:sql:Wrong SQL: SELECT r.id FROM "ir_rule" r
JOIN ("ir_rule_group" g JOIN "ir_model" m ON (g.model = m.id)) ON (g.id =
r.rule_group) WHERE m.model = 'ir.ui.menu' AND g.perm_read AND (g.id IN (SELECT
rule_group_id FROM "ir_rule_group-res_user" WHERE user_id = 1 UNION SELECT
rule_group_id FROM "ir_rule_group-res_group" g_rel JOIN "res_user-res_group"
u_rel ON (g_rel.group_id = u_rel.gid) WHERE u_rel.uid = 1) OR default_p OR
g.global_p)
[Mon Jun 15 12:09:21 2009] ERROR:dispatcher:Exception calling method read on
model ir.ui.menu from 1@::1:37257/try20090611:
Traceback (most recent call last):
File
"/home/uspallek/workspace/tryton/trytond/trytond/protocols/dispatcher.py", line
120, in dispatch
res = getattr(obj, method)(cursor, user, *args, **kargs)
File "/home/uspallek/workspace/tryton/trytond/trytond/model/modelsql.py", line
426, in read
mode='read', context=context)
File "/home/uspallek/workspace/tryton/trytond/trytond/tools/misc.py", line
328, in cached_result
result = function(self2, cursor, **dict(kwargs))
File "/home/uspallek/workspace/tryton/trytond/trytond/ir/rule.py", line 179,
in domain_get
"OR g.global_p)", (model_name, user, user))
File
"/home/uspallek/workspace/tryton/trytond/trytond/backend/postgresql/database.py",
line 282, in execute
res = self.cursor.execute(sql, params)
ProgrammingError: Spalte g.perm_read existiert nicht at character 151
Issue 74054: Add perm read, write, create, delete on rules
(Closed)
Created 17 years ago by ced1
Modified 16 years, 11 months ago
Reviewers: bch_b2ck.com, udono
Base URL:
Comments: 0