openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17767
[Bug 1073829] Re: Only followers can access a sticky notes gives error for non administrators
I rejected the merge proposal which is not clean. The rule was ok.
The problem is that the followers are added after the rule is checked.
We should find another solution where we add followers before checking
the rule: or we say that the rule also matches when there is no
follower.
** Changed in: openobject-addons
Status: Fix Committed => Confirmed
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1073829
Title:
Only followers can access a sticky notes gives error for non
administrators
Status in OpenERP Addons (modules):
Confirmed
Bug description:
When a non administrator tries to add a note, you cen enter your text
as should, as soon you click enter the detail edit screen appears in a
popup, you can enter some details but when you click save you'll get
system warning:
Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Note, Operation: create)
After checking the access rights, they seem to be correct. I noticed that the following security record rule is related:
Settings - Record Rules : Only followers can access a sticky notes
It states : [('message_follower_ids','=',user.partner_id.id)]
When I remove this rule it works, but I guess it has a reason it is in
the standard.
Also tested in the runbot. Only in runbot the popup with detail editor is not showing, it gives the message "You must configure the etherpad through the menu Setting > Companies > Companies, in the configuration tab of your company".
The result is however the same, when clicking save the error message appears.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1073829/+subscriptions
References