-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi.
- --On 21.05.2002 22:14:40 +1200 martin langhoff wrote: >> What you can do before deletion is testing whether the user in >> question is in the group required to delete something. If yes, >> commence, if no, abort the whole thing before you come to it. > > But I'd like to get _into_ the functuion call and alter it. To what purpose? The only thing what Midgard gives you is the ability to check whether a user is in a specific group, no more, no less... It should be enough to implement everything on top of that in PHP. >> The problem is, that the whole permission system of Midgard is rather >> simple. > > That's a feature, not a bug ;) -- I don't mind the system being > simple at all -- in fact is something I like. What I'd be able is to > hook my own logic into mgd calls -- without having to reimplement > them. But I am getting silly. With scriptor this might be possible. Also, try my Midgard Base classes[1] in the Midgard knowledge base[2], they might help you as well. [1]: http://www.nathan-syntronics.de/midgard/oop [2]: http://www.nathan-syntronics.de/midgard > > So changing anything there will require a lot of thought before >> we do anything, especially because this is something we shuld keep >> for the next major version upgrade of Midgard. > > No worries. No request for changes at all. ;-) >> I'd suggest that you write a small specification of what you need and >> then post it here on midgard-user to discuss it. Only then I can give >> you a more elaborte answer on what should be easy, and what not. > > You've answered my doubts. I would guess a more PHP-based midgard -- > like midgard lite can expose its hooks a lot more transparently. > Objects can be inherited and "builtins" overriden more easily. > That's what I'd like to have, but that's pie-in-the-sky. The problem with a more PHP based Midgard, as I see it currently with my MidCOM [3] Project, is that it greatly reduces performance. Even a simple MidCOM Framework (with layouting and navigation add-ons) increases processing time roughly by a factor of four, further move of logic out of the PHP C-core would further slow this down. That's why I've asked for proposals to implement such thing in the C-Layer. [3]: http://www.nathan-syntronics.de/midgard/docs/midcom.html Live long and prosper! Torben Nehmer - -- Torben Nehmer, Munich, Germany http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED] PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE86iniJPh4Kn6d5FYRAnD9AKDU971DROkP5x14deGwwaf3zXHTmgCgzRsv cOMF9reR+KzUoBoZHA5gL2E= =k6Lr -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
