Hi Yuan,
iirc you can subscribe to the
zope.app.authentication.interfaces.IAuthenticatedPrincipalCreated
event.
In your event you can do something like this:
def authenticated_principal_created(event):
principal = event.principal
principal.groups.append('zope.Manager')
hth
Christian
Carlos de la Guardia a écrit :
Hi,
the other day I commented on my blog [1] about the lack of information
on the Zope3 wiki about popular/important libraries or modules (I wanted
to say products but I hear that's passé). Since I brought this up, I
though the least I could do was to create a p
Hi,
I have a view class like this:
class EditTestPage(form.EditForm):
form_fields = form.Fields(ITestPage)
template = namedtemplate.NamedTemplate('page_edit')
output = ""
actions = form.Actions(
form.Action('Save', success='handle_save_action'),
form.Action('Preview',
Dear list,
I have written a custom authenticator plugin to authenticate users
against a Postgres database. The question is, once a user is
authenticated, what role or permission does she/he get?
If I would like to give the permission 'site.MemberPermission' to all
users when they log in. I don't
Hi,
the other day I commented on my blog [1] about the lack of information on
the Zope3 wiki about popular/important libraries or modules (I wanted to say
products but I hear that's passé). Since I brought this up, I though the
least I could do was to create a page about this myself, but I need he
I should add that in order to do something useful
you should log in with mngr, password: mngr
- or adjust app.zcml.
-Andreas
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Hi!
In many applications members can add content but with the restriction
that it needs to be confirmed
by a manager before it becomes "active" and accessible to anybody
else. I'm trying to accomplish this
with an idea of mine, but I'm very open to other ideas of course :)
Basically, lets sa
Am Montag 03 September 2007 schrieb Frank Burkhardt:
> Hi,
>
> On Sun, Sep 02, 2007 at 11:03:47PM +0200, Tobias Kräntzer wrote:
> > Hello everybody,
> >
> > While figuring out catalogs in zope3 (3.3.1 on ubuntu 7.04), i ran into a
> > problem. I think it is just a basic configuration thing, but
Hi
some addition to my mail:
this is an object-instance from
http://trac.ict-ok.org/browser/trunk/org/ict_ok/components/net/interfaces.py :
http://demo1.ict-ok.org/243cc85c808da990a939a4ae361c67a12/edit.html
all works great
this is an object-instance from
http://trac.ict-ok.org/browser/trunk/o
Hello,
i've tried out diffenrent parts of z3c.formdemo, but there is noch schema.List
from schema.Textline
example in the demo.
when omitting the osList-attribute by:
> 109 fields = field.Fields(IHost).omit(*HostDetails.omit_editfields)
> [see
> http://trac.ict-ok.org/browser/trunk/org/ic
Hi,
On Sun, Sep 02, 2007 at 11:03:47PM +0200, Tobias Kräntzer wrote:
> Hello everybody,
>
> While figuring out catalogs in zope3 (3.3.1 on ubuntu 7.04), i ran into a
> problem. I think it is just a basic configuration thing, but I could not find
> what I'm doing wrong.
>
> In "/++etc++site/def
Am Sonntag, 2. September 2007 18:26 schrieb Markus Leist:
> Hi list,
>
> z3c.form has a very generic, well approach - but at the moment it's to
> complicated to me.
>
> I have an interface defined like:
>
> 100 osList = List (
> 101 title = _("operating systems"),
> 103 va
12 matches
Mail list logo