Commit Graph

183 Commits

Author SHA1 Message Date
Olivier Dony c34a218159 [IMP] share: add option to specify shared access name
bzr revid: odo@openerp.com-20110601130655-9y63unr6eus9f20e
2011-06-01 15:06:55 +02:00
Olivier Dony 01861bd44e [IMP] share: add option to name the sharing access + improve button names
bzr revid: odo@openerp.com-20110601081049-ern1g43gg6l267yd
2011-06-01 10:10:49 +02:00
Olivier Dony 685e29d9d3 [FIX] share: current user restrictions were not properly copied
This could lead to security issues, because shared users could
have more access rights than the user sharing the data.
The mechanism was working to copy them, but unfortunately not
working.

bzr revid: odo@openerp.com-20110505170756-ihkkzxy0485t43bd
2011-05-05 19:07:56 +02:00
Olivier Dony 085bf6d02f [FIX] share: share users with multi-shares should keep same home action
Previously they were assigned the generic menu as home action
but that is not very relevant because it does not contain their
shortcuts most of the time, and also this breaks the web client
in v6.0 as it does not support the Menu as home action.

bzr revid: odo@openerp.com-20110505170720-k0p7pjfkyadzc4pg
2011-05-05 19:07:20 +02:00
Olivier Dony 17eb9f1997 [FIX] share: use empty domain for shared actions, as ir.rules do enforce the filtering.
We must not use a normal domain for the shared action,
because it may be constructed with records the user may
not see (e.g. sharing tasks from a certain project does
not give right to see the project itself.)
Evaluating the domain of an action requires rights that
the user will not have. Moreover, this is useless because
ir.rules are created with each share access to filter
appropriately the records, and they are evaluated as 
root user without risk of failed access right.

bzr revid: odo@openerp.com-20110505170623-62zlf9mchq5zvqw2
2011-05-05 19:06:23 +02:00
Olivier Dony ae4d224302 [FIX] share: multi-sharing with an empty filter was not working
An empty share filter should be translated as a dummy ir.rule
to make sure it is properly combined with other rules after
multiple shared access are granted to the same user.

bzr revid: odo@openerp.com-20110505170525-obqif2mxnsod5mvo
2011-05-05 19:05:25 +02:00
Olivier Dony 3b5aa70813 [FIX] share: typo
bzr revid: odo@openerp.com-20110411235216-3tij6tlw7064dn7s
2011-04-12 01:52:16 +02:00
Olivier Dony 0a6b44e6ca [IMP] portal: inherit share wizard to auto-create the menu
bzr revid: odo@openerp.com-20110408150951-q41mksjz1khb5zp8
2011-04-08 17:09:51 +02:00
Olivier Dony e165096efd [MERGE] merged RCO portal branch, including more recent trunk
bzr revid: odo@openerp.com-20110408133800-ts9t3tne7ixm09gz
2011-04-08 15:38:00 +02:00
Olivier Dony 6922668a77 [IMP] share: improved shared wizard
New features: can share to groups if user has "Share / User (Extended)"
group. Warning message if user does not have email and cannot share by
email. Names of sharing groups are now hidden in ORM access denied messages.
Better error reporting.
UI: more user-friendly labels, titles. More visibible button in web client.
Bugfixes: better handling of sharing objects with _inherits, can combine
ir.rules if already exist for same (object,group). Button is now hidden
in web client if user is not in "Share/User" group.

bzr revid: odo@openerp.com-20110408133608-vmdrzfeo0dz28wer
2011-04-08 15:36:08 +02:00
Rifakat Haradwala (Open ERP) 9a9c100595 [Merge]: merge with lp:~openerp-dev/openobject-addons/emails-framework-addons
bzr revid: rha@tinyerp.com-20110330092614-sgnniorxit17zvxn
2011-03-30 14:56:14 +05:30
Harry (OpenERP) cf7c73310d [MERGE] merged with trunk addods development branch
bzr revid: hmo@tinyerp.com-20110329122736-78igudbed2jz7lf4
2011-03-29 17:57:36 +05:30
Rifakat Haradwala (Open ERP) 2fe7c51e36 [REM] email.smtp_server: removed email.smtp_server and did changes in email module
bzr revid: rha@tinyerp.com-20110321133156-y57yw6sekshnw9ns
2011-03-21 19:01:56 +05:30
Rifakat Haradwala (Open ERP) 64f9d7e94f [IMP] : base_module_quality, crm, email_template, mail_gateway, sale_crm, share: string formatting
bzr revid: rha@tinyerp.com-20110308112208-40jbv5er9w21xiw0
2011-03-08 16:52:08 +05:30
Yogesh (OpenERP) 659900e4d5 [IMP] add argument in email_send method of addons module.
bzr revid: ysa@tinyerp.com-20110209091848-tb1d9qcj9bz3iq2b
2011-02-09 14:48:48 +05:30
YSA (Openerp) 5140ae0d98 [IMP] add email module depedancy in related module.
bzr revid: ysa@tinyerp.com-20110204062934-yf8in8dzu15vdmeh
2011-02-04 11:59:34 +05:30
YSA (Openerp) bbdac458fd [IMP] call email_send method of email.message object insted of tools.
bzr revid: ysa@tinyerp.com-20110204061819-bb3p94bs7og680je
2011-02-04 11:48:19 +05:30
Olivier Dony f2139f9603 [FIX] share: user m2m for selecting existing users instead of o2m
bzr revid: odo@openerp.com-20110118193022-van29r1hs7qcppng
2011-01-18 20:30:22 +01:00
Olivier Dony 091692fefb [FIX] share: updated share wizard after server changes to ir.ui.menu (dropped create_shortcut() method) + some typos
bzr revid: odo@openerp.com-20110118154056-yzfib31snxn3e5cn
2011-01-18 16:40:56 +01:00
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30
Xavier Morel 78ca098cf7 [FIX] share: login value and dbname key (typo) in the codepath handling sharing to existing users
bzr revid: xmo@openerp.com-20101123215242-glqx7ooqi6eadyhy
2010-11-23 22:52:42 +01:00
Xavier Morel e8ee855426 [ADD] web part of the share module, addition of DB handling to the module's wizard
bzr revid: xmo@openerp.com-20101122131150-603vgxc9dxg28dz3
2010-11-22 14:11:50 +01:00
Xavier Morel e581a46bae [FIX] share: send correct share_root_url to server action, add dbname to share_root_url so user can actually be logged in if server has multiple dbs
bzr revid: xmo@openerp.com-20101122125334-w0cpt1p4s471q1wb
2010-11-22 13:53:34 +01:00
Xavier Morel d452c65969 [REV] alterations to server side of share wizard
bzr revid: xmo@openerp.com-20101122114429-cmi5h10t5iwv9x0l
2010-11-22 12:44:29 +01:00
vda (Open ERP) 6f3ef38b88 [FIX] Fixed share root url with direct access of user.
bzr revid: vda@tinyerp.com-20101122063823-suc6cj5k8cu7y7ac
2010-11-22 12:08:23 +05:30
vda (Open ERP) 15f8f81e05 [FIX] Improved share action method,share url and passed active db in email.
bzr revid: vda@tinyerp.com-20101115103706-vhkrxbnrw73sljmr
2010-11-15 16:07:06 +05:30
Olivier Dony 9566084f45 [FIX] share: corrected config message for share_root_url
bzr revid: odo@openerp.com-20101112162338-mrpfgqm4yy69hyoa
2010-11-12 17:23:38 +01:00
Olivier Dony 3d8cbbdaaf [IMP] share: corrected typo in share URL formatting patterns
bzr revid: odo@openerp.com-20101025143847-lhcdroeyayydh71t
2010-10-25 16:38:47 +02:00
Olivier Dony ad15fa3385 [IMP] share: much more complete implementation of share wizard, pending some improvements + web widget creation
bzr revid: odo@openerp.com-20101017051319-p4xi0epaqmgvwdmr
2010-10-17 07:13:19 +02:00
Rvo (Open ERP) 45a8d54f18 [CLEAN]: removed commented code, fixed proper indentation in dictionary and removed extra spaces at few places
bzr revid: rvo@tinyerp.co.in-20100813122005-qj1l1iumkfmocyvk
2010-08-13 17:50:05 +05:30
Harry (OpenERP) d601d648a7 [IMP] share:
* intersect with read access rights of user running the wizard, to avoid adding more access than current
* copy all rules from groups of the user that is sharing in the many2many of the rules on the new group

bzr revid: hmo@tinyerp.com-20100610191601-ybrv7xk9vb5ixonc
2010-06-11 00:46:01 +05:30
Harry (OpenERP) 2f94616062 [IMP] share:
* Rules/Access rights
* Previous button is removed from wizard.

bzr revid: hmo@tinyerp.com-20100610180032-gyr17c7xow6qx5h7
2010-06-10 23:30:32 +05:30
Harry (OpenERP) f4633e226c [ADD] share module:
The goal is to implement a generic sharing mechanism, where user of OpenERP
can share data from OpenERP to their colleagues, customers, or friends.
The system will work by creating new users and groups on the fly, and by
combining the appropriate access rights and ir.rules to ensure that the /shared
users/ will only have access to the correct data.

bzr revid: hmo@tinyerp.com-20100608114049-5q4q4trmbkizppxt
2010-06-08 17:10:49 +05:30