External changing of permissons
Hi, I have a zope user directory with no Manager permissions (i.e. the admin user is unable to access it). How do I restore the Manager role permissions to this directory? Regards Sheldon Knight
On Thu, 2003-10-02 at 20:41, Sheldon Knight wrote:
Hi,
I have a zope user directory with no Manager permissions (i.e. the admin user is unable to access it). How do I restore the Manager role permissions to this directory?
See "creating an emergency user" here: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx HTH, Dylan
Hello!! How can I put in a var. (of a DTML page) the result of the following ZSQL query? "SELECT COUNT(*) FROM NAMES" Thanks so much! bye Stefano Sasso (Ps: excuse me for my english but I'm italian and I don't know it very well)
Stefano, First, change your ZSQL method to.. SELECT COUNT(*) AS TOTAL FROM NAMES Next, reference the result of your ZSQL method in your DTML document as follows.. <dtml-in myZSQLmethod> <dtml-var TOTAL> </dtml-in> - Kamal On Friday, October 3, 2003, at 07:32 AM, Stefano Sasso wrote:
Hello!!
How can I put in a var. (of a DTML page) the result of the following ZSQL query?
"SELECT COUNT(*) FROM NAMES"
Thanks so much!
bye
Stefano Sasso
(Ps: excuse me for my english but I'm italian and I don't know it very well)
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Stefano Sasso wrote at 2003-10-3 16:32 +0200:
How can I put in a var. (of a DTML page) the result of the following ZSQL query?
"SELECT COUNT(*) FROM NAMES"
I do not understand what you want. But reading the database integration section of the Zope Book may help you. Dieter
participants (5)
-
Dieter Maurer -
Dylan Reinhardt -
Kamal Gill -
Sheldon Knight -
Stefano Sasso