[Zope-PAS] todo
Man accs for aidan Bob AC contract Cashflow forecast Tommy's pitch SQLPASPlugin import steps + tz issue distribute meeting reminder t+ra invoice accounts ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope-PAS] Re: authentication via web services
J Cameron Cooper wrote: Miles wrote: Hi, Has anyone used PAS to authenticate and get properties from a web service? We have a requirement for this in a project, but given the current general state of SOAP support in python, I'm not very clear on what the best solution might be on this. If anyone has any experience/advice that they're willing to share, I'd be very grateful. Well, if by web services you mean SOAP, then I don't know. But the GMailAuthPlugin (which is really just a demonstrator), the Salesforce connector, the OpenID plugin, and the LibertyAuthPlugin could be called using web services. Maybe the CAS plugin counts. Yes, I did mean SOAP as that seems to be the only way this specific service is exposed. I wasn't aware of those plugins so will take a look. The salesforce plugin looks quite useful, from a cursory glance. Thanks, Miles ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope-PAS] Re: proposal: IUserAdder plugins
Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6 May 2007, at 05:12, Miles wrote: -1, we can not change semantics of existing interfaces. I agree with this. Though the restriction is not documented anywhere: I am happy to add some explanatory notes though. It does not need to be documented because that is a generally accepted rune, not something specific to this project. Interfaces should not change out of the blue. If a change must be made there are mechanisms (deprecation warnings, etc) that can be used to tell people about impending changes, and they're usually employed for 2 releases. Sorry, my mail wasn't very clear. I meant the the first IUserAdder plugin to return True vetoes further plugins restriction (which isn't documented - I was suggesting adding a note about it) and not the changing semantics of interfaces out of the blue is not allowed restriction (which is documented in mailing lists and other places). Miles ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
[Zope-PAS] missing method in interfaces
Hi, The interfaces definition from the plugins directory defines: IRoleAssignerPlugin def doAssignRoleToPrincipal( principal_id, role ): However, it doesn't document any way to remove a role from a principal. Should there be a doRemoveRoleFromPrincipal( principal_id ) method for this? zodbrolemanager provides a removeRoleFromPrincipal method which does this, and could be wired up in the same way as doAssignRoleToPrincipal is currently. Can I provide a patch to add it into the definition, and to zodbrolemanager? Thanks, Miles ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas