Mailing List Archive

Re: Zope-DB Digest, Vol 56, Issue 1
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
> zope-db-request@zope.org
>
> You can reach the person managing the list at
> zope-db-owner@zope.org
>
> 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" <cvloc@cit.ctu.edu.vn>
> Subject: [Zope-DB] Help me.
> To: zope-db@zope.org
> Message-ID:
> <1717.118.68.134.185.1205248409.squirrel@mail.cit.ctu.edu.vn>
> 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 <robert@redcor.ch>
> Subject: Re: [Zope-DB] Help me.
> To: Cu Vinh Loc <cvloc@cit.ctu.edu.vn>
> Cc: zope-db@zope.org
> Message-ID: <47D6A56C.7000908@redcor.ch>
> 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 <lists@zopyx.com>
> Subject: Re: [Zope-DB] Help me.
> To: Cu Vinh Loc <cvloc@cit.ctu.edu.vn>, zope-db@zope.org
> Message-ID: <2CD472908878336FEEF1E339@[192.168.0.24]>
> Content-Type: text/plain; charset="utf-8"
>
>
>
> --On 11. M??rz 2008 22:13:29 +0700 Cu Vinh Loc <cvloc@cit.ctu.edu.vn>
> 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
> **************************************
>




_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
Re: Re: Zope-DB Digest, Vol 56, Issue 1 [ In reply to ]
Am 12.03.2008, 03:50 Uhr, schrieb Cu Vinh Loc <cvloc@cit.ctu.edu.vn>:

> 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