
<!DOCTYPE rss PUBLIC  "-//Netscape Communications//DTD RSS 0.91//EN"
"http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
<channel> 
<title></title> 
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi</link> 
<description>The work log of Bernie Simon</description> 
<language>en</language> 
<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/291017435600.html</link>
<description>
&lt;p&gt;
Today I transitioned into being Zope web administrator. There are
still prblems with permissions I need to work out. We checked
performance of feline and it is faster. It looks like Steve did a CVS
checkout while it was in a broken state, which caused some 503
errors. We fixed that by copying the Products directory over from
zps. Things look good to go once we the info on the wiki and do a test
plan.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/281017349200.html</link>
<description>
&lt;p&gt;
This morning I got appointed Zope web administrator to free up Jim's
time so that he can do some programming. I was also asked to lead
testing on feline, the new proposed new web server. I tested large
file support and started sitecheck running.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/271017262800.html</link>
<description>
&lt;p&gt;
I revised the xml parsing code in &lt;tt&gt;rss_client.py&lt;/tt&gt; to suck less. I did
some of the writing for the next Zope Zealots talk, but not as much as
I wanted because of time spent in meetings. I submitted a request to
install and test plan for &lt;tt&gt;mirror.py&lt;/tt&gt;.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/261017176400.html</link>
<description>
&lt;p&gt;
Today I finished writing the code for the next Zope Zealots talk. I
worte a dtml page theat geberates an RSS file and a client method that 
reads the RSS file, parses it, and displays the result.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/251017090000.html</link>
<description>
&lt;p&gt;
Today I worked on a talk for the Zope Zealots on xml-rpc. That meant
learning about it myself. I've written a method where Zope is the
client. I also want to write one where Zope is the server.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/221016830800.html</link>
<description>
&lt;p&gt;
My web page has a new look, courtesy of &lt;a href="http://www.xara.com"&gt;Xara
Webstyle&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I figured out how to set up protections on a Zope object so it is only 
visible to some users. Here is the report.&lt;/p&gt;

&lt;p&gt;Here's how I set up protections so that only members of the stis group 
can view them. First, I added the role STISonly to the folder
containing the objects to be hidden. And I created a user folder and
added the use stis in this same folder. I believe these changes could
also be made in any folder above the objects to be hidden.&lt;/p&gt;

&lt;p&gt;I clicked on the security tab of the objects to be protected and
unchecked "Acquire Permission Settings." I checked the same
protections on STISonly that were checked on Internal. I then
unchecked all permissions on Anonymous and Internal.&lt;/p&gt;

&lt;p&gt;I tested these changes when logged in as Internal and as stis and they 
behaved as expected, denying access to internal users and allowing it
to stis. But there was one remaining problem. The code on
the index_html page that tested if the user had permission to access a 
page was not returning the correct result. The problem was that the
second argument to &lt;tt&gt;has_permission&lt;/tt&gt; was enclosed in quotes. It should
instead have looked like this.&lt;/p&gt;

&lt;pre&gt;
AUTHENTICATED_USER.has_permission('View',teamhomenumbers_confidential)

&lt;/pre&gt;

&lt;p&gt;This code will not work if the object name contains non-word
characters such as a dot. In that case the second parameter should
have the form &lt;/p&gt;

&lt;pre&gt;
_['strange.name'].

&lt;/pre&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/211016744400.html</link>
<description>
&lt;p&gt;
I gave the Zope Zealots talk today, tested permissions in Zope
Zealots, and and investigated adding security on a stis folder.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/201016658000.html</link>
<description>
&lt;p&gt;
An article on &lt;a href="http://www.zope.org/Members/glpb/solaris"&gt;Zope performance under
Solaris&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A one line script to number lines in a file:&lt;/p&gt;

&lt;pre&gt;
perl -ne 'printf "%2d: %s", $., $_;' file

&lt;/pre&gt;

&lt;p&gt;I finished the Zope Zealots talk and put it online. In the process I
wrote my once and for all structured text reformatting Perl
module. And I changed the weblog module to call it. My &lt;tt&gt;export.pl&lt;/tt&gt;
script was reviewed by the group. I was asked to modify it to save an
old version of the export file.&lt;/p&gt;

&lt;p&gt;There's a bug in mkdepend that adds a bogus file at the end of the SRC 
line.
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/191016571600.html</link>
<description>
&lt;p&gt;
I've been working on the tutorial for the Zope Zealots talk. I
switched over to talking about a cut down version of the  export
task. However, I wasted the morning trying to figure out a way to tuen 
off echo when reading the password. During the afternoon we had a
the performance close out meeting where we complained that we weren't
allowed to buy Linux servers. Then Steve came in and told us he had
decided to request buying Linux servers, regardless of the
politics. After the meeting I went back to writing up the talk. 
&lt;/p&gt;
</description>
</item>

<item>
<title>Today's Work</title>
<link>http://www-int.stsci.edu/~bsimon/weblog.cgi/post/181016485200.html</link>
<description>
&lt;p&gt;
This morning I investigated a problem Grace was having with cut and
paste in Zope. I couldn't duplicate the problem and when I visited
her, she couldn't reproduce the problem either. So fixing the problem
has been put on hold. After that, I worked on producing the talk for
the Zope Zealots tutorial. I wrote a demo to show how to use Perl and
LWP to run a Zope form externally to Zope. Unfortunately, I ran into a 
503 error that I couldn't resolve. Once again Zope defeats my best
efforts to debug it.
&lt;/p&gt;
</description>
</item>

</channel>
</rss>
