IRC logs of #tryton for Friday, 2015-08-28

chat.freenode.net #tryton log beginning Fri Aug 28 00:00:01 CEST 2015
-!- smarro(~sebastian@181.16.4.44) has joined #tryton00:22
cedkapostatize: no, flask-tryton doesn't enforce any access right by default01:02
apostatizecedk01:03
apostatizecedk: Oops, sorry. Yeah, is there a clean way to do it?01:03
apostatizecedk: Like use __rpc__ somehow?01:03
cedkapostatize: you can add _check_access to True in the context01:03
cedkapostatize: but this will raise an exception01:04
apostatizecedk: Then I can catch the exception, and interpret as no access?01:04
cedkapostatize: yes01:04
cedkapostatize: but indeed the idea about flask-tryton is to not need access right because you just create pages that user can access01:06
apostatizecedk: Yeah, what I'm doing is the FHIR stuff, so I need doctor A (or Nurse A) to only have access to user A, and doctor B only to patient B, and so on.01:07
cedkapostatize: base on what?01:08
apostatizecedk: I don't know how to institute the access rights without defining them again outside of tryton, which seems awkward.01:08
apostatizecedk: *user A = patient A01:08
apostatizecedk: Sorry?01:08
cedkapostatize: so it sounds like _check_access is the right solution01:19
cedkapostatize: indeed you can just raise a 401 for such exception01:20
apostatizecedk: Yeah, I'll definitely play with that. Seems like a perfect fit. Thanks!01:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:29
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton02:51
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:06
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton03:46
-!- prakashpandey(~prakashpa@122.174.237.148) has joined #tryton06:55
-!- yangoon(~mathiasb@p549F09AB.dip0.t-ipconnect.de) has joined #tryton07:02
-!- prakashpandey(~prakashpa@122.174.237.148) has joined #tryton07:03
-!- frispete_(~frispete@p54A915EB.dip0.t-ipconnect.de) has joined #tryton07:40
-!- rpit(~rpit@2a02:908:e670:3a80:56ee:75ff:fe0d:d3c7) has joined #tryton07:57
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:19
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton08:27
-!- aasnan(~aasnan@88.15.172.144) has joined #tryton09:01
-!- sunny_dealmeida(~quassel@210.89.37.231) has joined #tryton09:24
-!- aroncero(~aroncero@86.63.19.153) has joined #tryton09:32
-!- udono(~udono@ip-178-202-238-79.hsi09.unitymediagroup.de) has joined #tryton09:41
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton09:42
-!- prakashpandey(~prakashpa@122.174.237.148) has joined #tryton09:51
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton12:06
-!- prakashpandey(~prakashpa@122.174.237.148) has joined #tryton12:29
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton12:29
-!- yangoon(~mathiasb@p549F09AB.dip0.t-ipconnect.de) has joined #tryton12:30
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton12:30
-!- rainer_(~rainer@pd956864b.dip0.t-ipconnect.de) has joined #tryton12:30
-!- yangoon(~mathiasb@p549F09AB.dip0.t-ipconnect.de) has joined #tryton12:32
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton12:32
-!- rainer_(~rainer@pd956864b.dip0.t-ipconnect.de) has joined #tryton12:32
-!- prakashpandey(~prakashpa@122.174.237.148) has joined #tryton13:06
-!- mariomop(~quassel@host167.200-82-111.telecom.net.ar) has joined #tryton13:10
-!- kstenger(~karla@200.124.209.158) has joined #tryton13:45
-!- aroncero_(~aroncero@86.63.19.153) has joined #tryton14:30
-!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton14:51
-!- pablovannini(~pablo@181.47.148.245) has joined #tryton15:04
-!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton15:16
-!- bvillasanti(~bvillasan@190.105.64.171) has joined #tryton15:32
-!- smarro(~sebastian@181.16.4.44) has joined #tryton15:58
-!- lukio(~lukio@181.47.148.245) has left #tryton17:14
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton17:34
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton17:38
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton17:40
-!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton18:36
-!- digitalsatori(~Thunderbi@203.35.234.18) has joined #tryton18:48
-!- FvD(~Thunderbi@ip44-231-64-186.ct.co.cr) has joined #tryton19:20
-!- sunny_dealmeida(~quassel@210.89.37.231) has joined #tryton19:37
-!- intart(~intart@190.166.20.249) has joined #tryton20:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton20:34
-!- prakashpandey(~prakashpa@122.174.237.148) has joined #tryton20:49
-!- prakashpandey(~prakashpa@122.174.237.148) has left #tryton23:09

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!