IRC logs of #tryton for Monday, 2021-04-19 #tryton log beginning Mon Apr 19 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:51
-!- thaneor2( has joined #tryton00:31
-!- thaneor3( has joined #tryton00:32
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton01:36
-!- springwurm(~Springwur@ has joined #tryton04:58
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:25
-!- Timitos(~kpreisler@2001:a61:482:eb01:762b:62ff:fe84:ed7e) has joined #tryton05:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:17
-!- rpit( has joined #tryton07:22
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton07:25
-!- springwurm(~Springwur@ has joined #tryton07:30
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton07:50
-!- amprxc( has joined #tryton09:08
-!- ludo3(~Thunderbi@ has joined #tryton09:16
-!- springwurm(~springwur@ has joined #tryton12:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:03
-!- thaneor( has joined #tryton12:34
mrichezhi, got a model which become read access after setting a field to true. This field is only writable by admin group, how can i duplicate a record as non-admin user ? (got "you are not allowed to access field...."13:42
cedkmrichez: if the user can not create the record it can neither copy it13:47
mrichezcedk: user can create the record13:49
cedkmrichez: but if he can not read the source, it can not create the same13:50
mrichezcedk: user is allowed to read the source13:50
cedkmrichez: it does not seem as the message says it does not13:52
mrichezcedk: it's just on this specific field (even if i've set perm_read = True)13:53
mrichezcedk: here's my rule:
cedkmrichez: if he can not read a field, he can not copy its value13:57
mrichezcedk: but i set perm_read = 'True'13:58
cedkmrichez: the error message say differently14:05
mrichezcedk: indeed.. but don't know what's wrong14:12
mrichezcedk: field is on product.template, should i define also rules on product.product ?14:14
cedkmrichez: I do not know I do not have the full message nor the full information14:55
-!- rpit( has joined #tryton14:55
cedkall I can say is restrict access is very complicated task14:56
cedkif you are not ready to loose functionnalities14:56
mrichezcedk: ok, i'll we make more tests14:56
cedkmrichez: but the error message should indicate exactly what is going wrong15:00
mrichezcedk: ok,15:00
mrichezcedk: it thought it was because i forgot to define a default value, but no... field is a checkbox, i test rule on False value, so i set False as default15:03
mrichezcedk: i will go on with my investigations :-)15:04
-!- thaneor1( has joined #tryton15:15
-!- mariomop(~quassel@ has joined #tryton18:55

Generated by 2.17.3 by Marius Gedminas - find it at!