*** quodt has joined #zope3-dev | 00:01 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 00:02 | |
*** fcorrea has quit IRC | 00:06 | |
*** jodok has quit IRC | 00:26 | |
mcdonc | i know this is digging back in the years for many, but between whatever zope3 shipped with zope2.8 and whatever zope3 shipped with 2.10, the subscriber directive was changed in a backwards incompatible way... essentially fixing it requires that you use a 'handler=dotted.name.to.function' instead of a 'factory=dotted.name.to.function' in zcml. | 00:27 |
---|---|---|
mcdonc | is there a well-known way to make code polyglotic between the two regimes? | 00:28 |
mcdonc | it looks like they are mutually exclusive and i will need to write my own wrapper | 00:28 |
mcdonc | s/code polyglotic/zcml polyglotic/ above | 00:28 |
*** norro has quit IRC | 00:34 | |
*** sp0cksbeard has quit IRC | 00:38 | |
*** regebro has quit IRC | 00:46 | |
*** jeffk has quit IRC | 00:50 | |
*** harobed has joined #zope3-dev | 00:54 | |
J1m | mcdonc, you might have to write your own zcml directive. | 00:57 |
mcdonc | J1m: thanks, thats what i figured. | 00:57 |
J1m | You could probably just copy the new one and use it with a different name. | 00:57 |
mcdonc | i'll probably just register it via code (tres suggested it to me, duh) | 01:00 |
*** ccomb has quit IRC | 01:03 | |
*** pbugni has quit IRC | 01:04 | |
*** benji has quit IRC | 01:04 | |
*** pbugni has joined #zope3-dev | 01:05 | |
*** jeffk has joined #zope3-dev | 01:20 | |
*** harobed has quit IRC | 01:23 | |
*** BjornT_ has joined #zope3-dev | 01:23 | |
*** BjornT has quit IRC | 01:24 | |
*** dobee has quit IRC | 01:32 | |
*** jsadjohnson has joined #zope3-dev | 01:34 | |
*** hazmat has joined #zope3-dev | 01:37 | |
*** greenman has joined #zope3-dev | 01:50 | |
*** nathany has quit IRC | 01:55 | |
*** J1m has quit IRC | 02:28 | |
*** b52laptop has quit IRC | 02:37 | |
*** niemeyer has quit IRC | 02:41 | |
*** pbugni has quit IRC | 02:48 | |
*** jsadjohnson has quit IRC | 02:50 | |
*** povbot` has joined #zope3-dev | 02:57 | |
*** povbot has quit IRC | 02:58 | |
*** hazmat has quit IRC | 02:59 | |
*** markusleist has joined #zope3-dev | 03:03 | |
*** greenman has quit IRC | 03:06 | |
*** hazmat has joined #zope3-dev | 03:20 | |
*** rcrafton has quit IRC | 03:42 | |
*** greenman has joined #zope3-dev | 03:51 | |
*** hazmat has quit IRC | 03:58 | |
*** hazmat has joined #zope3-dev | 04:50 | |
*** stub has joined #zope3-dev | 04:59 | |
*** edgordon_ has quit IRC | 05:12 | |
*** RaFromBRC has quit IRC | 05:43 | |
*** markusleist has quit IRC | 06:09 | |
*** jeffk has quit IRC | 06:25 | |
*** philiKON_ has joined #zope3-dev | 06:40 | |
*** philiKON has quit IRC | 06:57 | |
*** jukart has joined #zope3-dev | 08:04 | |
*** greenman has quit IRC | 08:05 | |
*** d2m has joined #zope3-dev | 08:05 | |
*** Jell-O-Fishi has quit IRC | 08:07 | |
*** jukart has quit IRC | 08:13 | |
*** kursor has joined #zope3-dev | 08:23 | |
*** TresEquis has joined #zope3-dev | 08:24 | |
*** TresEquis has left #zope3-dev | 08:24 | |
*** sorin has joined #zope3-dev | 08:33 | |
*** sorin is now known as sorindregan | 08:33 | |
*** yvl has joined #zope3-dev | 08:52 | |
*** dobee has joined #zope3-dev | 09:00 | |
*** sorindregan has quit IRC | 09:03 | |
*** sorin has joined #zope3-dev | 09:03 | |
*** sorin is now known as sorindregan | 09:03 | |
*** __mac__ has joined #zope3-dev | 09:05 | |
*** afd_ has joined #zope3-dev | 09:06 | |
*** jukart has joined #zope3-dev | 09:08 | |
*** __mac__ has quit IRC | 09:13 | |
*** __mac__ has joined #zope3-dev | 09:14 | |
*** jukart has quit IRC | 09:18 | |
*** jukart has joined #zope3-dev | 09:19 | |
*** greenman has joined #zope3-dev | 09:23 | |
*** romanofski has joined #zope3-dev | 09:32 | |
*** jodok has joined #zope3-dev | 09:48 | |
*** toutpt has joined #zope3-dev | 09:49 | |
*** afd_ has quit IRC | 09:50 | |
*** stub has quit IRC | 09:59 | |
*** natea|boston has joined #zope3-dev | 09:59 | |
*** stu1 has joined #zope3-dev | 09:59 | |
*** stu1 is now known as stub | 09:59 | |
*** natea has quit IRC | 10:00 | |
*** pelle_ has joined #zope3-dev | 10:13 | |
*** agroszer has joined #zope3-dev | 10:13 | |
*** pelle_ has quit IRC | 10:13 | |
*** pelle_ has joined #zope3-dev | 10:14 | |
*** harobed has joined #zope3-dev | 10:22 | |
*** afd_ has joined #zope3-dev | 10:38 | |
*** jodok has quit IRC | 11:00 | |
*** quodt has joined #zope3-dev | 11:09 | |
*** ghendi has joined #zope3-dev | 11:13 | |
*** natea|boston has quit IRC | 11:19 | |
*** regebro has joined #zope3-dev | 11:19 | |
*** jstavel has joined #zope3-dev | 11:29 | |
*** mgedmin has joined #zope3-dev | 11:30 | |
*** jodok has joined #zope3-dev | 11:30 | |
*** kursor_ has joined #zope3-dev | 11:42 | |
*** kursor has quit IRC | 11:47 | |
*** MJ has joined #zope3-dev | 11:48 | |
*** yvl has left #zope3-dev | 11:53 | |
*** jodok_ has joined #zope3-dev | 11:53 | |
*** jstavel has left #zope3-dev | 11:57 | |
*** ccomb has joined #zope3-dev | 12:02 | |
*** jodok has quit IRC | 12:09 | |
*** dunny has quit IRC | 12:58 | |
*** niemeyer has joined #zope3-dev | 13:06 | |
*** toutpt has quit IRC | 13:14 | |
*** MJ is now known as MJ|lunch | 13:24 | |
*** alga has joined #zope3-dev | 13:28 | |
*** alga_ has joined #zope3-dev | 13:38 | |
*** MJ|lunch is now known as MJ | 14:11 | |
*** ktwilight_ has joined #zope3-dev | 14:19 | |
*** ktwilight has quit IRC | 14:22 | |
*** b52laptop has joined #zope3-dev | 14:25 | |
*** greenman has quit IRC | 14:30 | |
*** malthe has joined #zope3-dev | 14:42 | |
*** afd_ has quit IRC | 14:50 | |
*** lisppaste6 has quit IRC | 14:51 | |
*** lisppaste6 has joined #zope3-dev | 14:59 | |
*** jsadjohnson has joined #zope3-dev | 15:02 | |
*** pyqwer has joined #zope3-dev | 15:11 | |
*** mkerrin has joined #zope3-dev | 15:16 | |
*** stub has quit IRC | 15:19 | |
*** stub has joined #zope3-dev | 15:20 | |
*** benji has joined #zope3-dev | 15:20 | |
*** rcrafton has joined #zope3-dev | 15:21 | |
*** toutpt has joined #zope3-dev | 15:22 | |
*** tarek has joined #zope3-dev | 15:25 | |
*** jodok_ is now known as jodok | 15:27 | |
*** projekt01 has joined #zope3-dev | 15:29 | |
*** goschtl has joined #zope3-dev | 15:29 | |
*** hazmat has quit IRC | 15:36 | |
*** thruflo has joined #zope3-dev | 15:38 | |
*** norro has joined #zope3-dev | 15:49 | |
*** jeffk has joined #zope3-dev | 15:54 | |
*** kursor_ has quit IRC | 16:01 | |
*** hazmat has joined #zope3-dev | 16:09 | |
*** lucielejard has joined #zope3-dev | 16:14 | |
*** afd_ has joined #zope3-dev | 16:26 | |
*** hazmat has quit IRC | 16:50 | |
*** hazmat has joined #zope3-dev | 16:52 | |
*** jsadjohnson has quit IRC | 16:52 | |
*** sorindregan has quit IRC | 17:04 | |
*** lucielejard has quit IRC | 17:04 | |
*** lucielejard has joined #zope3-dev | 17:13 | |
*** hazmat has quit IRC | 17:14 | |
*** lucielejard has quit IRC | 17:15 | |
*** pelle___ has joined #zope3-dev | 17:20 | |
*** pelle___ has quit IRC | 17:23 | |
*** lucielejard has joined #zope3-dev | 17:25 | |
*** lucielejard has quit IRC | 17:25 | |
*** ignas has joined #zope3-dev | 17:27 | |
*** nathany has joined #zope3-dev | 17:31 | |
*** stub has quit IRC | 17:33 | |
*** toutpt has quit IRC | 17:34 | |
*** pelle_ has quit IRC | 17:37 | |
*** Aiste has quit IRC | 17:44 | |
*** quodt has quit IRC | 17:45 | |
*** Aiste has joined #zope3-dev | 17:51 | |
*** ghendi has quit IRC | 17:57 | |
*** rocky has quit IRC | 17:58 | |
*** goschtl has quit IRC | 18:01 | |
Theuni | benji: you're watching us! :) | 18:03 |
Theuni | gotta run, though | 18:04 |
benji | Theuni: I am. :) | 18:05 |
*** afd_ has quit IRC | 18:10 | |
*** redir has joined #zope3-dev | 18:15 | |
*** natea|boston has joined #zope3-dev | 18:25 | |
*** MJ has quit IRC | 18:26 | |
*** MJ|nickcollision has joined #zope3-dev | 18:26 | |
*** MJ|nickcollision is now known as MJ | 18:27 | |
pyqwer | Can someone explain me how roles are assigned to principals? | 18:30 |
mgedmin | via IPrincipalRoleMapping adapters? | 18:32 |
pyqwer | Hmmm, I don't understand the basic concept: I have principals (=users) in a principalfolder and defined roles in ZCML. | 18:33 |
*** natea|boston has quit IRC | 18:33 | |
pyqwer | And after authenticating, the principal has probably to be outfitted with a role, right? | 18:33 |
*** brandon_rhodes has joined #zope3-dev | 18:34 | |
pyqwer | Moreover, I somehow need to store a role onto a principal beforehand. | 18:34 |
brandon_rhodes | I'm running a doctest with a typical bin/test recipe, and need to see what my ORM is doing, and tried turning on Python's "logger" module, and can't get anything to print on the stdout. | 18:35 |
brandon_rhodes | Does zc.recipe.testrunner turn of all logging during tests or something? | 18:35 |
mgedmin | brandon_rhodes: IIRC zope.testing turns off all logging on startup | 18:36 |
*** natea|boston has joined #zope3-dev | 18:36 | |
mgedmin | zope.testing.testrunner, I mean | 18:36 |
brandon_rhodes | mgedmin: I've moved my turn-logging-back-on statements to the top of the particular docstring, and it still won't turn on :-) | 18:37 |
mgedmin | pyqwer: there are things called "grants" | 18:37 |
brandon_rhodes | But, this is my first time using the "logging" module, so I could be doing it wrong | 18:37 |
mgedmin | you can, e.g., grant principal X role Y in folder Z and all its subfolders | 18:37 |
mgedmin | also I think one of the Principal classes has a 'roles' attribute | 18:38 |
mgedmin | so you can grant some roles to a principal always | 18:38 |
pyqwer | mgedmin: Ok, and how can I grant a principal a role? By setting the 'roles' attribute on the Principal? | 18:40 |
mgedmin | maybe | 18:41 |
mgedmin | I don't remember | 18:41 |
pyqwer | mgedmin: Ok, thanks for help, I'll have a look at the Principal source code... | 18:42 |
*** MJ|nickcollision has joined #zope3-dev | 18:42 | |
mgedmin | what's your exact use case? | 18:42 |
mgedmin | are you writing generic Zope 3 code? | 18:42 |
mgedmin | if so, don't depend on the implementation details of a particular principal | 18:42 |
mgedmin | better use the IPrincipalRoleMaps adapter | 18:42 |
*** MJ has quit IRC | 18:42 | |
*** MJ|nickcollision is now known as MJ | 18:42 | |
mgedmin | er | 18:43 |
mgedmin | IPrincipalRoleManager, I mean | 18:43 |
mgedmin | check out zope/securitypolicy/zopepolicy.txt | 18:43 |
pyqwer | I'm building a kind of document management system, where people create documents/edit/etc. Therefore I need some authentication, user management, sign up and such stuff. | 18:44 |
*** __mac__ has quit IRC | 18:52 | |
*** jukart has quit IRC | 18:54 | |
*** toutpt has joined #zope3-dev | 18:54 | |
*** jodok has quit IRC | 18:56 | |
*** danfairs has joined #zope3-dev | 19:02 | |
*** foodels has quit IRC | 19:03 | |
*** dobee has quit IRC | 19:09 | |
brandon_rhodes | Drat, drat, drat. After more than an hour I still don't have logging turned on. :-/ | 19:12 |
* brandon_rhodes damns zope.testing | 19:13 | |
*** faassen has joined #zope3-dev | 19:13 | |
faassen | is something up with svn.zope.org? | 19:14 |
faassen | i keep getting authorization failed when I try to check in. | 19:14 |
faassen | hm, wait, my mistake. | 19:16 |
brandon_rhodes | Wrong password? :-) | 19:18 |
benji | I guess a read-only checkout. | 19:20 |
*** foodels has joined #zope3-dev | 19:20 | |
faassen | benji: yup, that one. :) | 19:22 |
benji | :) | 19:23 |
brandon_rhodes | Do we have a guess as to when the new web site will go live? What does it still lack? | 19:26 |
*** foodels has quit IRC | 19:27 | |
faassen | brandon_rhodes: the Grok website? | 19:29 |
brandon_rhodes | Well, drat, this is the zope3-dev channel. :-) | 19:29 |
brandon_rhodes | Yes, I meant the Grok web site. | 19:29 |
faassen | brandon_rhodes: it lacks filled in pages for learn, develop and participate. :) | 19:29 |
* brandon_rhodes concludes that he joins too many channels at once... | 19:29 | |
faassen | brandon_rhodes: feel free to contribute. :) | 19:29 |
brandon_rhodes | Okay, I'll see if I can do anything this evening. But I'll note that the current site doesn't have those pages either, so we've violated our idea of going live once we had everything the old site had :-) | 19:30 |
faassen | brandon_rhodes: well, we just need to put in a little bit of text. :) | 19:34 |
faassen | brandon_rhodes: pointing people to the right places. but yeah, we slightly violated that. we also had this design done ages ago. :) | 19:34 |
*** projekt01 has quit IRC | 19:38 | |
*** MJ has quit IRC | 19:38 | |
*** jukart has joined #zope3-dev | 19:39 | |
*** jukart has quit IRC | 19:41 | |
*** harobed has quit IRC | 19:45 | |
*** foodels has joined #zope3-dev | 19:50 | |
*** pbugni has joined #zope3-dev | 19:54 | |
*** pbugni has quit IRC | 19:54 | |
*** pbugni has joined #zope3-dev | 19:57 | |
*** philiKON_ is now known as philiKON | 19:59 | |
*** jukart has joined #zope3-dev | 20:00 | |
*** J1m has joined #zope3-dev | 20:04 | |
*** philiKON has quit IRC | 20:05 | |
*** philiKON has joined #zope3-dev | 20:07 | |
*** TresEquis has joined #zope3-dev | 20:12 | |
*** ccomb has quit IRC | 20:17 | |
*** fcorrea has joined #zope3-dev | 20:20 | |
*** pyqwer has quit IRC | 20:21 | |
*** malthe has quit IRC | 20:26 | |
*** agroszer has quit IRC | 20:35 | |
*** RaFromBRC has joined #zope3-dev | 20:40 | |
*** harobed has joined #zope3-dev | 20:43 | |
*** jodok has joined #zope3-dev | 20:43 | |
*** danfairs_ has joined #zope3-dev | 20:57 | |
*** danfairs_ has quit IRC | 20:59 | |
*** alecm has joined #zope3-dev | 21:05 | |
*** dunny has joined #zope3-dev | 21:08 | |
*** tarek has quit IRC | 21:10 | |
*** danfairs has quit IRC | 21:13 | |
*** brandon_rhodes has left #zope3-dev | 21:14 | |
*** faassen has quit IRC | 21:21 | |
*** mgedmin has quit IRC | 21:22 | |
*** hazmat has joined #zope3-dev | 21:25 | |
*** markusleist has joined #zope3-dev | 21:27 | |
*** jukart has quit IRC | 21:32 | |
*** grahal has joined #zope3-dev | 21:37 | |
*** TresEquis has quit IRC | 21:42 | |
*** ignas has quit IRC | 21:43 | |
*** dunny has quit IRC | 21:56 | |
*** thruflo has quit IRC | 21:58 | |
*** stub has joined #zope3-dev | 22:07 | |
*** dobee has joined #zope3-dev | 22:08 | |
*** ccomb has joined #zope3-dev | 22:16 | |
*** quodt has joined #zope3-dev | 22:18 | |
*** greenman has joined #zope3-dev | 22:23 | |
*** rcrafton has quit IRC | 22:26 | |
*** jodok has quit IRC | 22:26 | |
*** tarek has joined #zope3-dev | 22:30 | |
*** jeffk has quit IRC | 22:37 | |
*** greenman has quit IRC | 22:37 | |
*** mkerrin has quit IRC | 22:40 | |
*** alga_ has quit IRC | 22:40 | |
*** alga has quit IRC | 22:41 | |
*** tarek has quit IRC | 22:42 | |
*** RaFromBRC is now known as RaFromBRC|appt | 22:43 | |
*** ccomb has quit IRC | 22:47 | |
*** dunny has joined #zope3-dev | 22:51 | |
*** lucielejard has joined #zope3-dev | 22:54 | |
*** rcrafton has joined #zope3-dev | 22:56 | |
*** ignas has joined #zope3-dev | 22:58 | |
*** jodok has joined #zope3-dev | 22:59 | |
*** tarek has joined #zope3-dev | 23:24 | |
*** d2m has quit IRC | 23:40 | |
*** hazmat has quit IRC | 23:53 | |
*** stub has quit IRC | 23:55 | |
*** jodok has quit IRC | 23:56 | |
*** sp0cksbeard has joined #zope3-dev | 23:57 | |
*** rcrafton has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!