[Erp5-users] [Fwd: Re: Reindex catalog errors and problems]

bartek bartek at erp5.pl
Tue Mar 11 10:53:42 CET 2008


(I accidentally sent this reply to priv, I guess the public can benefit 
from it too :) )

Bartek

-------- Original Message --------
Subject: Re: [Erp5-users] Reindex catalog errors and problems
Date: Mon, 10 Mar 2008 16:55:17 +0100
From: bartek <bartek at erp5.pl>
To: daniel at scharfman.com
References: <5b77cbdf0803100827ga4986ffgb6ae10cbc8982753 at mail.gmail.com>

Daniel Scharfman wrote:
>     --snip--
> 
>  
> 
>     Depends what you want to do. Creating someone who would have Assignor
>     role is a good idea, also because as you noticed sometimes there are
>     things which by default Manager user can not do, like validating stuff.
>     If you want to set up one simple role definition, like
>     "user-with-role-internal-is
>     -Assignor-no-matter-what" then it is indeed
>     pretty simple. It will also let you easily hide modules you don't want
>     to use for now. But, you can also play with everything else as zope, or
>     create some other Manager users in acl_users at the server level, and
>     play with security later.
> 
>     Bartek
> 
> 
> Yes, that sounds fantastic.  Could you point me somewhere in the 
> documentation where I could create a simple role definition like 
> "user-with-role-internal-is-Assignor-no-matter-what" for all modules?  I 
> would very much appreciate that.

Sure - here it is: in a portal type's Roles tab create a type
information with the following settings:

Name: Assignor-no-matter-what
Role: Assignor
Description: I am Assignor
Condition: (leave empty)
Base Category: role
Base Category Script: (leave empty, it will be filled automatically)
Category: role/internal

This is it :) But you can't do it once for all modules, you have to do
it separately for every portal type you want to access (Person Module,
Person etc.).

It is all in the wiki and in the handbook, althought the documentation
concentrates rather on explaining how it works and provides a bit more
sophisticated examples.

Bartek

> 
> Daniel


-- 
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"




More information about the Erp5-users mailing list