Review: Needs Fixing

We have to go a bit further in the changes.

We agree to let users see both their own filters and the so-called global ones, 
i.e. where the user_id is null.

We want a constraint: for all filters selected on some user_id or null, model 
id, filter name, we must have at most one filter.

We use a ir rule to restrict access (for regular user) to unlink/write/create, 
so they can only create non-global filters.

For the above constraint to be user friendly, we might add some manual warnings 
instead of relying on the ORM to throw (unfriendly) errors.
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-bug-802976-nch/+merge/66246
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-bug-802976-nch.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to