Re: [Zope-dev] permission inheritance from conflicting groups

2008-06-10 Thread Zvezdan Petkovic
On Jun 9, 2008, at 9:38 PM, Daniel Blackburn wrote: It seems that there either may be an issue with Zope security or I do not understand it properly. Please let me know what you guys think. It seems you misunderstood it. Lets say we have a principal with no direct permissions or roles

Re: [Zope-dev] permission inheritance from conflicting groups

2008-06-10 Thread Daniel Blackburn
On Tue, Jun 10, 2008 at 10:06 AM, Roger Ineichen [EMAIL PROTECTED] wrote: Hi Betreff: Re: [Zope-dev] permission inheritance from conflicting groups On Jun 9, 2008, at 9:38 PM, Daniel Blackburn wrote: It seems that there either may be an issue with Zope security or I do

Re: [Zope-dev] permission inheritance from conflicting groups

2008-06-10 Thread Stephan Richter
On Monday 09 June 2008, Daniel Blackburn wrote: It seems that there either may be an issue with Zope security or I do not understand it properly. Please let me know what you guys think. Lets say we have a principal with no direct permissions or roles assigned to see a view index.html. The

Re: [Zope-dev] permission inheritance from conflicting groups

2008-06-10 Thread Daniel Blackburn
On Tue, Jun 10, 2008 at 9:34 AM, Stephan Richter [EMAIL PROTECTED] wrote: On Monday 09 June 2008, Daniel Blackburn wrote: It seems that there either may be an issue with Zope security or I do not understand it properly. Please let me know what you guys think. Lets say we have a

[Zope-dev] permission inheritance from conflicting groups

2008-06-09 Thread Daniel Blackburn
It seems that there either may be an issue with Zope security or I do not understand it properly. Please let me know what you guys think. Lets say we have a principal with no direct permissions or roles assigned to see a view index.html. The principal has two groups, group1 and group2. group1

Re: [Zope-dev] permission management behaviour

2004-12-03 Thread bTurtle ZOpe
I try to set the permission to role mapping (which worked with the code snippet I posted, except for the behaviour i described). I just thought the manage_role could be used for this task. I will have a look at the methods used by the ZMI. thanks Stefan Zitat von Dieter Maurer [EMAIL

[Zope-dev] permission management behaviour

2004-11-30 Thread bTurtle ZOpe
Hi in a product I am working on, I have to set the permissions. I tried this, using the following code snippet: roles = object.valid_roles() object.manage_acquiredPermissions(permissions['Acquire']) for role in roles: object.manage_role(role, permissions[role]) permissions is a dictionary

[Zope-dev] Permission denied for users in Manger role

2003-01-31 Thread Robert Van Overmeiren
Hello, Scenario: I have a web app with a form in a folder and I removed Aquire permission settings from the View permission and added the perm to the Manager role. The folder with the form also has an acl_users folder and contains users defined as Managers. When I browse to the form in Inet

[Zope-dev] Permission Question

2002-05-13 Thread Andre Schubert
Hi all, i have i question on the permission-system of zope. Lets say i have a product which contains a zclass foo and i have created a role foo_role where every user belonges to this role is able to add foo instances. This works fine. But how do i define my permissions so, that all users which

Re: [Zope-dev] Permission Question

2002-05-13 Thread Dieter Maurer
Andre Schubert writes: i have i question on the permission-system of zope. Lets say i have a product which contains a zclass foo and i have created a role foo_role where every user belonges to this role is able to add foo instances. This works fine. But how do i define my permissions

Re: [Zope-dev] Permission Question

2002-05-13 Thread Andre Schubert
On Mon, 13 May 2002 21:16:24 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Andre Schubert writes: i have i question on the permission-system of zope. Lets say i have a product which contains a zclass foo and i have created a role foo_role where every user belonges to this role is

Re: [Zope-dev] Permission problems

2001-03-14 Thread Dieter Maurer
morten writes: I've been struggling with some permission problems, and I'd appreciate some help... Maybe, you take a look at URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html Perhaps, its security section make some aspects clearer. Dieter

[Zope-dev] Permission problems

2001-03-13 Thread morten
Hi guys, I've been struggling with some permission problems, and I'd appreciate some help... Being that I don't know too much about permissions (yet!), solving this issue is hard (and security _is_ hard); so I'll just point you to the problem:

[Zope-dev] permission mapping error when importing a ZClass-based product.

2000-08-10 Thread Anthony Baxter
I'm trying to export/import a ZClass based product from one Zope2.2 system to another, and I'm getting the following: Error Type: Permission mapping error Error Value: Attempted to map a permission to a permission, Edit ekit Partner, that is not valid. This should never happen.

Re: [Zope-dev] Permission

2000-08-10 Thread Jim Fulton
Tom Deprez wrote: Thanks Jim, for answering my q'n. In order to change a permission for a certain role, we have to check or uncheck this permission at the roles permission checkbox. I don't understand this. You can grant permissions to a role locally, regardless of whether you

[Zope-dev] Permission

2000-08-09 Thread Tom Deprez
Hi, I have this q'n already a long time in my head and I still don't know the answer to it. It has to do with the security-view. I hope that someone can shed a light on my brains. Why is their an Acquire permission (referred to as acq_perm in following text) checkbox column? In order to

Re: [Zope-dev] Permission

2000-08-09 Thread Jim Fulton
Tom Deprez wrote: Hi, I have this q'n already a long time in my head and I still don't know the answer to it. It has to do with the security-view. I hope that someone can shed a light on my brains. Why is their an Acquire permission (referred to as acq_perm in following text) checkbox