Tryton - Issues

 

Issue2459

Title Access right with reference fields
Priority bug Status resolved
Superseder Nosy List ced, ohuisman
Type Components
Assigned To Keywords
Reviews

Created on 2012-02-21.12:13:33 by ohuisman, last changed by ced.

Messages
msg10110 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2012-02-21.13:43:00
On 21/02/12 13:22 +0100, Okko wrote:
> 
> Okko <ohuisman@cloudsuite.com> added the comment:
> 
> >Don't create a request link for sale if all the users don't have access to it.
> You probably mean "if NOT all the users do have access to it"
> 
> I doubt if the above behaviour is logic. If there exist a request link to Sale and in 
> case I create a request link to another object then Sale (which all users do have access 
> to), it also shows an empty reference line.

Yes because the client to read all at once and one record fails because
of access rule.
In changeset c2d7d777d347, the behavior was a little bit improved
because the client will try to read all record one by one if it fall in
such case.
msg10109 (view) Author: [hidden] (ohuisman) Date: 2012-02-21.13:22:50
>Don't create a request link for sale if all the users don't have access to it.
You probably mean "if NOT all the users do have access to it"

I doubt if the above behaviour is logic. If there exist a request link to Sale and in 
case I create a request link to another object then Sale (which all users do have access 
to), it also shows an empty reference line.
msg10108 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2012-02-21.12:33:30
On 21/02/12 12:25 +0100, Okko wrote:
> 
> Do not understand. Some users do have access to Sales. The non-visible reference 
> is also empty line if it is not a link to Sales.

I don't understand.
msg10107 (view) Author: [hidden] (ohuisman) Date: 2012-02-21.12:24:59
Do not understand. Some users do have access to Sales. The non-visible reference 
is also empty line if it is not a link to Sales.
msg10106 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2012-02-21.12:19:35
Don't create a request link for sale if all the users don't have access to it.
msg10105 (view) Author: [hidden] (ohuisman) Date: 2012-02-21.12:13:33
2.2 server. The user needs to have model access to Sale to be able to see a 
Reference in Request. If the user has no model access to Sale the client only 
shows an empty line.
History
Date User Action Args
2014-09-19 22:44:56cedsetstatus: done-cbb -> resolved
2013-12-20 13:55:56cedsetassignedto: ced ->
2012-03-16 17:07:20cedsettitle: Reference and Sale -> Access right with reference fields
2012-03-05 10:36:53cedsetstatus: testing -> done-cbb
2012-02-21 13:43:01cedsetmessages: + msg10110
2012-02-21 13:22:51ohuismansetmessages: + msg10109
2012-02-21 12:33:30cedsetmessages: + msg10108
2012-02-21 12:25:00ohuismansetmessages: + msg10107
2012-02-21 12:19:35cedsetstatus: unread -> testing
assignedto: ced
messages: + msg10106
nosy: + ced
2012-02-21 12:13:33ohuismancreate

Showing 10 items. Show all history (warning: this could be VERY long)