RE: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-21 Thread Steve Drees

> With the advent of Zope 2.2, the first thing you need to do is to create a
> management user.  You cannot use the 'superuser' to manage content.  I
> know this is a little unfamiliar, but, for now, just suspend disbelief and
> create another user with the 'Manager' role (by visiting the acl_users
> User Folder and adding a user).  Then quit the browser, and log in as the
> user you created.  You'll then be able to follow the cmg.


Couldn't the zope install be modified to prompt for a 'Manager' username and
password
and then create that account from the outset?


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-21 Thread Chris McDonough

There is a proposal something like this in the works.

> -Original Message-
> From: Steve Drees [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 21, 2000 11:11 AM
> To: Chris McDonough
> Cc: Zope User Maillist
> Subject: RE: [Zope] Newbie Question (Content Manager Tutorial)
> 
> 
> > With the advent of Zope 2.2, the first thing you need to do 
> is to create a
> > management user.  You cannot use the 'superuser' to manage 
> content.  I
> > know this is a little unfamiliar, but, for now, just 
> suspend disbelief and
> > create another user with the 'Manager' role (by visiting 
> the acl_users
> > User Folder and adding a user).  Then quit the browser, and 
> log in as the
> > user you created.  You'll then be able to follow the cmg.
> 
> 
> Couldn't the zope install be modified to prompt for a 
> 'Manager' username and
> password
> and then create that account from the outset?
> 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Dieter Maurer

Hi Mark,

Mark A. Pappas writes:
 > I installed Zope 2.2.0 
 > I dloaded the Content Manager Guide 
 > ...
 > Zope Error
 > Zope has encountered an error while publishing this resource.
 > 
 > Error Type: SuperCannotOwn
 > Error Value: Objects cannot be owned by the superuser
The Content Manager Guide still describes the world
before Zope 2.2.

For some reason (that I do not understand), DC descided
that, starting with Zope 2.2.0, the SuperUser is no
longer Super but instead rather limited. He cannot own objects
and therefore, he cannot create objects.

What you need to do:

  As SuperUser go to "acl_users".
  Create a new user with a role of "Manager".
  Close your browser (all windows!).
  Recontact Zope (in a fresh browser!) as your newly created
  Manager.
  Use this manager, whenever your guide speaks of "SuperUser".


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris McDonough

See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx,
section named "The Superuser".

I hope to have this chapter really finished this weekend.

On Sat, 19 Aug 2000, Chris Withers wrote:

> Chris McDonough wrote:
> > With the advent of Zope 2.2, the first thing you need to do is to create a
> > management user.  You cannot use the 'superuser' to manage content. 
> 
> Can anyone remind me why?
> 
> T0he problems it's caused, particularly with broswers caching basic auth
> info, seem to be pretty nasty for newbies (and a few oldbies ;-)
> 
> cheers,
> 
> Chris
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Jan H. Haul

"Mark A. Pappas" wrote:

> I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded
> the Content Manager Guide and started working through the tutorial. Went to
> create a folder as instructed.
> 
> Below is what I got. What am I doing wrong?
>
> Error Type: SuperCannotOwn
> Error Value: Objects cannot be owned by the superuser
> 

You are working as superuser.
While this *did* work up to Zope 2.1.6, since Zope 2.2 the
security model was tightened.

You must (as superuser) create a user with manage privilege,
restart your browser and use that user to create objects.

HTH,
Jan

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris Withers

Chris McDonough wrote:
> With the advent of Zope 2.2, the first thing you need to do is to create a
> management user.  You cannot use the 'superuser' to manage content. 

Can anyone remind me why?

T0he problems it's caused, particularly with broswers caching basic auth
info, seem to be pretty nasty for newbies (and a few oldbies ;-)

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Chris McDonough

Darn.  Those docs are a little ( ok, a lot...) out of date.  They're
still useful, but they don't cover a few things.

With the advent of Zope 2.2, the first thing you need to do is to create a
management user.  You cannot use the 'superuser' to manage content.  I
know this is a little unfamiliar, but, for now, just suspend disbelief and
create another user with the 'Manager' role (by visiting the acl_users
User Folder and adding a user).  Then quit the browser, and log in as the
user you created.  You'll then be able to follow the cmg.

On Sat, 19 Aug 2000, Mark A. Pappas wrote:

> Hi All,
> I decided today was learn Zope Day. I expect to be pounding the list with
> some newbie questions.
> 
> I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded
> the Content Manager Guide and started working through the tutorial. Went to
> create a folder as instructed.
> 
> Id: News
> Title: The ZAcme News
> 
> 
> X  Create public interface
> X  Create user folder
> 
> Below is what I got. What am I doing wrong?
> Thanks All
> Mark Pappas
> 
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Type: SuperCannotOwn
> Error Value: Objects cannot be owned by the superuser
> 
> 
> 
> 
> 
> 
> Troubleshooting Suggestions
> 
> The URL may be incorrect.
> The parameters passed to this resource may be incorrect.
> A resource that this resource relies on may be encountering an error.
> For more detailed information about the error, please refer to the HTML
> source for this page.
> 
> If the error persists please contact the site maintainer. Thank you for your
> patience.
> 
> 
> 
> 
> Traceback (innermost last):
>   File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 222,
> in publish_module
>   File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 187,
> in publish
>   File C:\Program Files\WebSite\lib\python\Zope\__init__.py, line 221, in
> zpublisher_exception_hook
>   File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 171,
> in publish
>   File C:\Program Files\WebSite\lib\python\ZPublisher\mapply.py, line 160,
> in mapply
> (Object: manage_addFolder)
>   File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 112,
> in call_object
> (Object: manage_addFolder)
>   File C:\Program Files\WebSite\lib\python\OFS\Folder.py, line 116, in
> manage_addFolder
>   File C:\Program Files\WebSite\lib\python\OFS\ObjectManager.py, line 249,
> in _setObject
> (Object: ApplicationDefaultPermissions)
>   File C:\Program Files\WebSite\lib\python\AccessControl\Owned.py, line 271,
> in manage_fixupOwnershipAfterAdd
> (Object: ElementWithAttributes)
> SuperCannotOwn: (see above)
> 
> 
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Newbie Question (Content Manager Tutorial)

2000-08-19 Thread Mark A. Pappas

Hi All,
I decided today was learn Zope Day. I expect to be pounding the list with
some newbie questions.

I installed Zope 2.2.0 on a Win 98 machine. Seems to work fine. I dloaded
the Content Manager Guide and started working through the tutorial. Went to
create a folder as instructed.

Id: News
Title: The ZAcme News


X  Create public interface
X  Create user folder

Below is what I got. What am I doing wrong?
Thanks All
Mark Pappas


Zope Error
Zope has encountered an error while publishing this resource.

Error Type: SuperCannotOwn
Error Value: Objects cannot be owned by the superuser






Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the HTML
source for this page.

If the error persists please contact the site maintainer. Thank you for your
patience.




Traceback (innermost last):
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 222,
in publish_module
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 187,
in publish
  File C:\Program Files\WebSite\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 171,
in publish
  File C:\Program Files\WebSite\lib\python\ZPublisher\mapply.py, line 160,
in mapply
(Object: manage_addFolder)
  File C:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 112,
in call_object
(Object: manage_addFolder)
  File C:\Program Files\WebSite\lib\python\OFS\Folder.py, line 116, in
manage_addFolder
  File C:\Program Files\WebSite\lib\python\OFS\ObjectManager.py, line 249,
in _setObject
(Object: ApplicationDefaultPermissions)
  File C:\Program Files\WebSite\lib\python\AccessControl\Owned.py, line 271,
in manage_fixupOwnershipAfterAdd
(Object: ElementWithAttributes)
SuperCannotOwn: (see above)



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )