[saas-3]Form view from calendar view: A user with read only access has the save button
Bug #1291322 reported by
Muschang Anthony (Acsone)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
A user with read only access on a model has the save button when accessing the model view form from the calendar view.
Scenario:
With the module event and the demo datas
1/As admin, in the ACL, for the model event.event, remove the create/write/delete access for the group "Event / User".
2/As demo, open an event from the calendar view mode
3/The user cannot modify any fields, but see the save and discard button.
Tested with Chrome and IE9.
Tested only on saas-3.
Related branches
lp://staging/~openerp-dev/openerp-web/saas-3-bug_1291322-ptr
Ready for review
for merging
into
lp://staging/~openerp/openerp-web/saas-3
- OpenERP Core Team: Pending requested
-
Diff: 16 lines (+5/-1)1 file modifiedaddons/web_calendar/static/src/js/web_calendar.js (+5/-1)
To post a comment you must log in.