*** ktwilight has quit IRC | 00:04 | |
*** ktwilight has joined #zope3-dev | 00:05 | |
*** timte has quit IRC | 00:09 | |
*** pelle_ has quit IRC | 00:17 | |
*** reco has quit IRC | 00:18 | |
*** pelle_ has joined #zope3-dev | 00:19 | |
*** ofer has joined #zope3-dev | 00:28 | |
*** turian has joined #zope3-dev | 00:31 | |
turian | FYI | 00:31 |
---|---|---|
turian | Springer's website still lists edition 2 of Philipp's book as shipping in 3-4 weeks :( | 00:32 |
*** benji has quit IRC | 00:35 | |
turian | philiKON: FYI | 00:37 |
*** turian has quit IRC | 00:37 | |
*** niemeyer has quit IRC | 01:12 | |
*** J1m has quit IRC | 01:21 | |
*** natea has joined #zope3-dev | 01:39 | |
*** ofer has quit IRC | 01:49 | |
*** alga has quit IRC | 01:53 | |
*** pelle_ has quit IRC | 02:00 | |
*** jamesh has quit IRC | 02:22 | |
*** natea has quit IRC | 02:33 | |
*** whit has quit IRC | 02:42 | |
*** natea has joined #zope3-dev | 02:44 | |
*** whit has joined #zope3-dev | 02:44 | |
*** whit has quit IRC | 02:54 | |
*** natea has quit IRC | 03:07 | |
*** tarek has joined #zope3-dev | 03:13 | |
*** tarek has quit IRC | 03:36 | |
*** dobee has quit IRC | 04:02 | |
*** rocky|away is now known as rocky|Zzz | 04:19 | |
*** stub has joined #zope3-dev | 04:54 | |
*** alga has joined #zope3-dev | 05:08 | |
*** alecm has quit IRC | 05:35 | |
*** baijum has joined #zope3-dev | 06:08 | |
*** philiKON_ has joined #zope3-dev | 06:38 | |
*** philiKON has quit IRC | 06:54 | |
*** deo has quit IRC | 07:10 | |
*** dunny has joined #zope3-dev | 07:23 | |
*** dunny has quit IRC | 07:29 | |
*** alga has quit IRC | 07:30 | |
* baijum adding test layers to zope.app.* packages now, any one likes to join ? | 07:48 | |
*** stub has quit IRC | 08:34 | |
*** alecm has joined #zope3-dev | 09:04 | |
*** naro has joined #zope3-dev | 09:34 | |
*** tarek has joined #zope3-dev | 09:51 | |
*** alecm has quit IRC | 09:53 | |
*** d2m has joined #zope3-dev | 09:54 | |
*** tarek has quit IRC | 10:09 | |
*** jodok has quit IRC | 10:21 | |
*** tarek has joined #zope3-dev | 10:52 | |
*** zagy has quit IRC | 11:36 | |
*** d2m_ has joined #zope3-dev | 12:03 | |
*** tarek has quit IRC | 12:11 | |
*** baijum has quit IRC | 12:17 | |
*** d2m has quit IRC | 12:17 | |
*** d2m___ has joined #zope3-dev | 12:30 | |
*** d2m___ is now known as d2m | 12:30 | |
*** oferw has joined #zope3-dev | 12:35 | |
*** pelle_ has joined #zope3-dev | 12:38 | |
*** pelle_ has quit IRC | 12:39 | |
*** d2m_ has quit IRC | 12:42 | |
*** natea has joined #zope3-dev | 12:47 | |
*** oferw_ has joined #zope3-dev | 12:51 | |
*** oferw has quit IRC | 13:09 | |
*** reco has joined #zope3-dev | 13:23 | |
*** oferw_ has quit IRC | 13:50 | |
*** reco has quit IRC | 13:56 | |
*** reco has joined #zope3-dev | 13:57 | |
*** ignas has joined #zope3-dev | 13:57 | |
*** d2m has quit IRC | 14:01 | |
*** reco_ has joined #zope3-dev | 14:20 | |
*** reco has quit IRC | 14:21 | |
*** norro has joined #zope3-dev | 14:22 | |
*** reco has joined #zope3-dev | 14:24 | |
*** reco_ has quit IRC | 14:24 | |
*** natea is now known as natea|lastofthes | 14:27 | |
*** natea|lastofthes is now known as natea|snowsprint | 14:27 | |
*** jhauser has joined #zope3-dev | 14:31 | |
*** reco_ has joined #zope3-dev | 14:54 | |
*** reco has quit IRC | 15:00 | |
*** reco_ has quit IRC | 15:00 | |
*** reco has joined #zope3-dev | 15:04 | |
*** reco_ has joined #zope3-dev | 15:09 | |
*** reco has quit IRC | 15:10 | |
*** reco_ has quit IRC | 15:15 | |
*** reco has joined #zope3-dev | 15:16 | |
*** zagy has joined #zope3-dev | 15:30 | |
*** rocky|Zzz has quit IRC | 15:30 | |
*** natea|snowsprint has quit IRC | 15:51 | |
*** philiKON_ is now known as philiKON | 15:55 | |
*** b_52Free has quit IRC | 15:56 | |
*** b_52Free has joined #zope3-dev | 15:57 | |
*** opetznick has joined #zope3-dev | 16:01 | |
*** alecm has joined #zope3-dev | 16:25 | |
*** opetznick has quit IRC | 16:25 | |
*** BigML has joined #zope3-dev | 16:45 | |
*** alga has joined #zope3-dev | 16:51 | |
*** pelle_ has joined #zope3-dev | 16:51 | |
*** pelle__ has joined #zope3-dev | 16:53 | |
*** pelle__ has quit IRC | 16:53 | |
*** tarek has joined #zope3-dev | 17:11 | |
*** J1m has joined #zope3-dev | 17:25 | |
*** SteveA has quit IRC | 17:33 | |
*** philiKON has quit IRC | 17:42 | |
*** philiKON_ has joined #zope3-dev | 17:43 | |
*** ofer has joined #zope3-dev | 17:44 | |
J1m | philiKON_, ayt? | 17:44 |
philiKON_ | yes | 17:44 |
J1m | do you have any idea how the logging sections in zConfig work? | 17:44 |
J1m | do you know if they are documented anywhere? | 17:45 |
*** philiKON_ is now known as philiKON | 17:46 | |
philiKON | J1m: hmmm | 17:46 |
J1m | I have a vague memory that for Zope 2, the event log didn't effect thr root logger. | 17:46 |
J1m | actually more than a vague memory | 17:46 |
*** b_52Free has quit IRC | 17:47 | |
philiKON | it uses stuff from ZConfig.components.logger | 17:47 |
J1m | Yeah. ZConfig baffles me. | 17:47 |
philiKON | i typically look at the xml schemas | 17:48 |
*** tarek has quit IRC | 17:50 | |
J1m | It must do something with the root logger though. | 17:50 |
J1m | Because we log to thr root logger. | 17:50 |
philiKON | root logger? | 17:50 |
J1m | Yes | 17:50 |
J1m | logging.getLogger() returns the root logger. | 17:51 |
J1m | The Python logging system has a hieratchy of loggers. | 17:51 |
philiKON | ah, ok | 17:51 |
philiKON | see, i know little about this :/ | 17:51 |
*** tarek has joined #zope3-dev | 17:53 | |
J1m | So you don't document zope.conf in your book? | 17:55 |
*** reco has quit IRC | 17:55 | |
philiKON | J1m: not very well | 17:55 |
philiKON | not as much as i'd like to | 17:55 |
J1m | AFAICT, ZConfig is a gigantic obfuscator. | 17:55 |
philiKON | i'm not a big deployment guy, so i avoided that whole topic in the first ed. | 17:55 |
philiKON | second ed. mentions more, but not enough | 17:56 |
J1m | That isn't really ZConfig's fault. | 17:56 |
J1m | But we bother to create this facility and then don't tell people how to use it. | 17:56 |
J1m | *developers* care about logging too! | 17:56 |
philiKON | yeah yeah | 17:56 |
philiKON | :) | 17:56 |
philiKON | all i have are cheap excuses, i know | 17:57 |
J1m | My vent is not aimed at you. | 17:57 |
J1m | As a project, we need to figure out what we're going to do well and only do that. | 17:58 |
philiKON | agreed | 17:58 |
J1m | But ZConfig is a special sore spot for me because it causes me ongoing pain. | 17:58 |
J1m | It is soo frigging hard to change or to even figure out what is going on. | 17:58 |
J1m | I can only get things done with it at all because Fred is a coworker. | 17:59 |
philiKON | i need to leave | 17:59 |
J1m | I just spent 30 minutes staring at the schemas and handlers and still don't know what's going on. | 17:59 |
J1m | That's OK, I don't need you to vent. :) | 18:00 |
ignas | :) | 18:00 |
philiKON | ttyl | 18:00 |
*** b_52Free has joined #zope3-dev | 18:04 | |
*** philiKON has quit IRC | 18:04 | |
*** WebMaven has quit IRC | 18:04 | |
*** CSWookie has quit IRC | 18:04 | |
*** nouri has quit IRC | 18:04 | |
*** WebMaven has joined #zope3-dev | 18:08 | |
*** CSWookie has joined #zope3-dev | 18:10 | |
*** philiKON_ has joined #zope3-dev | 18:11 | |
*** noZoper has joined #zope3-dev | 18:14 | |
*** rocky has joined #zope3-dev | 18:16 | |
*** nouri has joined #zope3-dev | 18:18 | |
*** tarek has quit IRC | 18:25 | |
*** pelle_ has quit IRC | 18:37 | |
noZoper | can a zope instance be reset? - component registrations removed | 18:43 |
*** alga has quit IRC | 18:50 | |
philiKON_ | noZoper: yes, we use that for tests a lot. note that reloading modules at runtime isn't supported... | 18:51 |
noZoper | is there a tool that resets the instance? | 18:54 |
*** ignas has quit IRC | 19:06 | |
*** ignas has joined #zope3-dev | 19:07 | |
*** naro has quit IRC | 19:08 | |
philiKON_ | noZoper: define reset | 19:12 |
philiKON_ | you can restart the instance easil | 19:12 |
philiKON_ | easily | 19:13 |
philiKON_ | bin/zopectl restart | 19:13 |
noZoper | where should reset be defined? | 19:13 |
philiKON_ | huh? | 19:14 |
philiKON_ | what do you want to do? | 19:14 |
noZoper | reset the zope instance to as it was when Zope was first installed | 19:14 |
philiKON_ | aaaah | 19:14 |
philiKON_ | i see | 19:14 |
philiKON_ | well | 19:15 |
philiKON_ | just delete it and make a new one | 19:15 |
philiKON_ | (that will throw away the database, though) | 19:15 |
noZoper | yeah, but as all the changes have been made in ZODB I thought there might be a command to reset it | 19:15 |
philiKON_ | well, if you only made changes to the zodb, then you can simply delete var/Data.fs | 19:17 |
philiKON_ | this will throw out the database | 19:17 |
philiKON_ | when you start zope the next time, it'll create a blank one | 19:17 |
noZoper | I'll try that, thanks | 19:18 |
*** dlk has joined #zope3-dev | 19:42 | |
*** tarek has joined #zope3-dev | 19:45 | |
*** ofer has quit IRC | 19:52 | |
*** natea has joined #zope3-dev | 19:52 | |
*** natea is now known as natea|zurich | 19:55 | |
*** yota is now known as yotaMld | 20:08 | |
*** mkerrin has joined #zope3-dev | 20:08 | |
*** SteveA has joined #zope3-dev | 20:10 | |
*** reco has joined #zope3-dev | 20:25 | |
*** natea|zurich has quit IRC | 20:26 | |
*** b_52Free has quit IRC | 20:30 | |
*** alecm has quit IRC | 20:30 | |
*** b_52Free has joined #zope3-dev | 20:31 | |
*** mgedmin has joined #zope3-dev | 20:31 | |
*** alecm has joined #zope3-dev | 20:39 | |
*** alecm has quit IRC | 20:40 | |
*** J1m has quit IRC | 20:55 | |
*** mgedmin has quit IRC | 20:57 | |
*** naro has joined #zope3-dev | 21:21 | |
*** tarek has quit IRC | 21:57 | |
*** mkerrin has quit IRC | 22:03 | |
*** reco has quit IRC | 22:05 | |
*** alecm has joined #zope3-dev | 22:06 | |
*** reco has joined #zope3-dev | 22:08 | |
noZoper | what is the purpose of site components within an app? | 22:19 |
*** tarek has joined #zope3-dev | 22:21 | |
*** opetznick has joined #zope3-dev | 22:21 | |
*** Aiste has joined #zope3-dev | 22:24 | |
*** dunny has joined #zope3-dev | 22:37 | |
*** naro has quit IRC | 22:38 | |
*** reco has quit IRC | 22:39 | |
*** mgedmin has joined #zope3-dev | 22:43 | |
*** Aiste has quit IRC | 22:46 | |
*** b_52Free has quit IRC | 22:47 | |
*** b_52Free has joined #zope3-dev | 22:47 | |
*** mgedmin has quit IRC | 22:55 | |
*** timte has joined #zope3-dev | 23:01 | |
noZoper | is the framework described in zope.security used when granting permissions in ZMI? | 23:11 |
philiKON_ | yes | 23:12 |
philiKON_ | in a wa | 23:12 |
philiKON_ | way | 23:12 |
noZoper | depends on how the security policy is implemented i guess? | 23:13 |
philiKON_ | exactly | 23:13 |
noZoper | and checkers etc. | 23:13 |
philiKON_ | the zmi stufff manipulates properties that are read by zope3's default security policy | 23:13 |
philiKON_ | there's typically only one hecker implementation used | 23:13 |
philiKON_ | the name based checker | 23:13 |
noZoper | is this documented somewhere? | 23:15 |
philiKON_ | what do you mean? | 23:17 |
philiKON_ | there's my book that devotes a whole chapter to zope's security mechanism, and another one to the authentication mechanism | 23:18 |
philiKON_ | http://worldcookery.com | 23:18 |
noZoper | I'm still not clear on your description of how zmi manipulates properties so wanted some literature to read | 23:19 |
noZoper | Nice site, by the way | 23:20 |
philiKON_ | thanks | 23:21 |
philiKON_ | the "Grant" views in the zmi mainuplate annotation data of objects | 23:21 |
philiKON_ | to store permission information in | 23:21 |
philiKON_ | the security policy knows how to inspect that annotation data | 23:21 |
philiKON_ | this is abstracted through adapters | 23:21 |
philiKON_ | see IPrincipalPermissionMap, IPRincipalRoleMap, etc. zope.app.securitypolicy.interfaces | 23:22 |
philiKON_ | you adapt an object to one of those interfaces | 23:22 |
philiKON_ | the object you obtain from that adapter repsents a persistent storage of those permission settings local to the object you adapted | 23:22 |
philiKON_ | the securitypolciy uses that same adapter to find out about the permission settings again | 23:23 |
philiKON_ | my book has an example of how to use this adapter to locally grant a role to a principal | 23:23 |
philiKON_ | so much for the big picture. there aren't any walk through docs that explain all the bits and pieces, as far as i know | 23:24 |
noZoper | ok, well I'll see where I get with that | 23:25 |
philiKON_ | good luck | 23:25 |
*** timte has quit IRC | 23:27 | |
*** tarek has quit IRC | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!