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