[Zope-DB] Re: Zope-DB Digest, Vol 56, Issue 1

Cu Vinh Loc cvloc at cit.ctu.edu.vn
Tue Mar 11 22:50:09 EDT 2008


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






More information about the Zope-DB mailing list