Dear friends, Please show me how to query user table of zope and control (using python) that.
Thanks, Cu Vinh Loc. > Send Zope-DB mailing list submissions to > zope-db@zope.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.zope.org/mailman/listinfo/zope-db > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Zope-DB digest..." > > > Today's Topics: > > 1. Re: Help me. (Charlie Clark) > 2. Re: Zope-DB Digest, Vol 56, Issue 1 (Cu Vinh Loc) > 3. Re: Re: Zope-DB Digest, Vol 56, Issue 1 (Charlie Clark) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 11 Mar 2008 17:06:38 +0100 > From: "Charlie Clark" <[EMAIL PROTECTED]> > Subject: Re: [Zope-DB] Help me. > To: "Cu Vinh Loc" <[EMAIL PROTECTED]>, zope-db@zope.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 > > Am 11.03.2008, 16:13 Uhr, schrieb Cu Vinh Loc <[EMAIL PROTECTED]>: > >> Dear friends, >> I am using plone for deploying the website, but I have some problems >> such as: >> - Using relational (internal) database "Gadfly database": I do not >> know >> where the database is stored in the Zope. Can I manipulate directly >> this database "visual"? >> - Users and groups: How to assign this permissions to my website. >> Could you show me how to implement that easily. > > Dear Cu Vin Loc, > > you have simply reposted your e-mail to the Archetypes list this morning > apparently without looking at the documentation I suggested. > > While you are reading up on the basics of using Zope and relational > databases it might be an idea to let us know exactly what you want to do. > As a kick-start on using Zope you might also wish to look at my > presentation at EuroPython last year. It covers the very basics of using > ZSQL in Zope and there is a download with code for your to play with. > > http://www.egenix.com/library/presentations/EuroPython2007-Zope-and-RDBMS/ > > Good luck! > > Charlie > -- > Charlie Clark > eGenix.com > > Professional Python Services directly from the Source >>>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > > :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! :::: > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > > > ------------------------------ > > Message: 2 > Date: Wed, 12 Mar 2008 09:50:09 +0700 (ICT) > From: "Cu Vinh Loc" <[EMAIL PROTECTED]> > Subject: [Zope-DB] Re: Zope-DB Digest, Vol 56, Issue 1 > To: zope-db@zope.org > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=utf-8 > > Dear friends, > > In my website, there are many user groups and each group will have > different persission but I do not know how to assign permission for > certain users. Assume that I have a form that including some functions > such as: view, update, insert, delete. In this case, if users have normal > permission they are only view but users have hight permission they can > update, insert, delete,... > > I use gadfly DB to create own database. In this case, can I combine this > DB with users table of the system? > > Please show me how to perfome that in plone and zope. > > Thank you very much, > > Cheers, > Cu Vinh Loc. > >> Send Zope-DB mailing list submissions to >> zope-db@zope.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://mail.zope.org/mailman/listinfo/zope-db >> or, via email, send a message with subject or body 'help' to >> [EMAIL PROTECTED] >> >> You can reach the person managing the list at >> [EMAIL PROTECTED] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Zope-DB digest..." >> >> >> Today's Topics: >> >> 1. Help me. (Cu Vinh Loc) >> 2. Re: Help me. (robert rottermann) >> 3. Re: Help me. (Andreas Jung) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Tue, 11 Mar 2008 22:13:29 +0700 (ICT) >> From: "Cu Vinh Loc" <[EMAIL PROTECTED]> >> Subject: [Zope-DB] Help me. >> To: zope-db@zope.org >> Message-ID: >> <[EMAIL PROTECTED]> >> Content-Type: text/plain;charset=utf-8 >> >> Dear friends, >> >> I am using plone for deploying the website, but I have some problems >> such as: >> - Using relational (internal) database "Gadfly database": I do not >> know >> where the database is stored in the Zope. Can I manipulate directly >> this database "visual"? >> - Users and groups: How to assign this permissions to my website. >> >> Could you show me how to implement that easily. >> >> Cheers, >> Cu Vinh Loc. >> >> >> >> >> >> ------------------------------ >> >> Message: 2 >> Date: Tue, 11 Mar 2008 16:29:48 +0100 >> From: robert rottermann <[EMAIL PROTECTED]> >> Subject: Re: [Zope-DB] Help me. >> To: Cu Vinh Loc <[EMAIL PROTECTED]> >> Cc: zope-db@zope.org >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=UTF-8 >> >> Cu Vinh Loc schrieb: >>> Dear friends, >>> >>> I am using plone for deploying the website, but I have some problems >>> such as: >>> - Using relational (internal) database "Gadfly database": I do not >>> know >>> where the database is stored in the Zope. Can I manipulate directly >>> this database "visual"? >>> - Users and groups: How to assign this permissions to my website. >>> >>> Could you show me how to implement that easily. >>> >>> Cheers, >>> Cu Vinh Loc. >>> >>> >>> >>> _______________________________________________ >>> Zope-DB mailing list >>> Zope-DB@zope.org >>> http://mail.zope.org/mailman/listinfo/zope-db >>> >>> >> gadfly is stored in the var directory of your zope instance. >> however I belive it is not supported anymore. >> >> user and groups: >> in your instance go to confiration (using your browser to access a >> running plone). >> there you find users ang groups. >> >> for every object (a document, a folder) you can define who (what >> user/group) has what permission. this you do using the sharing tab. >> >> robert >> >> >> ------------------------------ >> >> Message: 3 >> Date: Tue, 11 Mar 2008 16:37:18 +0100 >> From: Andreas Jung <[EMAIL PROTECTED]> >> Subject: Re: [Zope-DB] Help me. >> To: Cu Vinh Loc <[EMAIL PROTECTED]>, zope-db@zope.org >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="utf-8" >> >> >> >> --On 11. M??rz 2008 22:13:29 +0700 Cu Vinh Loc <[EMAIL PROTECTED]> >> wrote: >> >>> Dear friends, >>> >>> I am using plone for deploying the website, but I have some problems >>> such as: >>> - Using relational (internal) database "Gadfly database": I do not >>> know >>> where the database is stored in the Zope. >> >> Please forget Gadfly. If you are seriously thinking about using a RDBMS >> for >> whatever reason then consider using a real database like Mysql, >> Postgres... >> There are various ways for interacting with a RDBMS in Zope: >> >> - using ZSQL methods (check "THe Zope Book 2.7 edition RDBMS Chapter") >> - wrappers based on SQLAlchemy: collective.lead or z3c.sqlalchemy or >> ZSQLAlchemyDA >> >> -aj >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: not available >> Type: application/pgp-signature >> Size: 194 bytes >> Desc: not available >> Url : >> http://mail.zope.org/pipermail/zope-db/attachments/20080311/688f6595/attachment-0001.bin >> >> ------------------------------ >> >> _______________________________________________ >> Zope-DB mailing list >> Zope-DB@zope.org >> http://mail.zope.org/mailman/listinfo/zope-db >> >> >> End of Zope-DB Digest, Vol 56, Issue 1 >> ************************************** >> > > > > > > > ------------------------------ > > Message: 3 > Date: Wed, 12 Mar 2008 08:48:14 +0100 > From: "Charlie Clark" <[EMAIL PROTECTED]> > Subject: Re: [Zope-DB] Re: Zope-DB Digest, Vol 56, Issue 1 > To: "Cu Vinh Loc" <[EMAIL PROTECTED]>, zope-db@zope.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 > > Am 12.03.2008, 03:50 Uhr, schrieb Cu Vinh Loc <[EMAIL PROTECTED]>: > >> Dear friends, > >> In my website, there are many user groups and each group will have >> different persission but I do not know how to assign permission for >> certain users. Assume that I have a form that including some functions >> such as: view, update, insert, delete. In this case, if users have >> normal >> permission they are only view but users have hight permission they can >> update, insert, delete,... > > In Zope itself you do not assign permissions directly to individual users > rather to roles. There are extensions which allow groups and Plone > includes groups. > >> I use gadfly DB to create own database. In this case, can I combine this >> DB with users table of the system? > > Yes, but not with Gadfly. Zope has it's own object oriented database which > is usually sufficient for most things. If you wish to integrate Zope with > an external database for user management then you need to look at PAS > (Pluggable Authentication Service) or exUserFolder. > >> Please show me how to perfome that in plone and zope. > > Based on the information you've given us so far we can't do much. It is > not clear whether you actually need to work with an external data system. > If you only need to divide your users into groups then the user management > in Plone should be sufficient. Look at the Plone Control Panel. > > And please try to use some of the abundant documentation on these topics. > > Charlie > -- > Charlie Clark > eGenix.com > > Professional Python Services directly from the Source >>>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ > ________________________________________________________________________ > > :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! :::: > > eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 > D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg > Registered at Amtsgericht Duesseldorf: HRB 46611 > > > ------------------------------ > > _______________________________________________ > Zope-DB mailing list > Zope-DB@zope.org > http://mail.zope.org/mailman/listinfo/zope-db > > > End of Zope-DB Digest, Vol 56, Issue 2 > ************************************** > _______________________________________________ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db