Re: [Zope-dev] User Groups

2002-02-04 Thread Florent Guillaume

 I've just released NuxUserGroups 0.6.
 http://www.zope.org/Members/nuxeo/Products/NuxUserGroups/

To expand a bit on this announcement:

  - One main goal of this product is to make it easy to have
workgroups. You simply have to define one Role, say 'Workgroup
Member', give it the permissions you want, and at the root of the
folder acting as the workgroup work area you assign the local group
role 'Workgroup Member' to the groups of users.

Compare this with the usual way to do it up to now, where you have
as many roles as there are workgroups, and where you basically have
exactly the same permission mapping for all these roles.

  - For now I only use a class derived from UserFolder, but I'd like to
make it possible for all third-party user folders to use groups, for
instance to store them in LDAP or SQL or whatever.

I'll need input about the user folders authors for this, but from a
cursory reading of the code of exUserFolder, for instance, it will
be pretty simple. We have to define a stable API of course and
implement the backends.

  - Obviously I believe such a concept has its place in the core Zope
(and things would be even cleaner there). When things stabilize a
bit I'll prepare a branch with the code, if people don't have any
objections.

Other miscellaneous things:

  - The speed impact should be pretty negligible (and with Richard's
profiler now we'll even be able to measure it :-).

  - I tried a separation of acl_users and acl_groups, but this has a lot
of problems as Groups and Users have to keep in sync their knowledge
of each other ; acl_groups has no meaning without acl_users ; when
you delete a user it has to inform acl_groups that the user is
deleted, etc. All in all it was a false good idea.


Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:[EMAIL PROTECTED]

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



[Zope-dev] User Groups

2002-02-03 Thread Florent Guillaume

I've just released NuxUserGroups 0.6.
This is the first release and is still alpha-quality code pending
further testing, so I'm only announcing it here.


This product adds the notion of groups of users.

For now, the groups are only used in the local roles, where you can
define an additionnal mapping of groups - roles. This gives the users
who belong to these groups additionnal local roles.

The product:

  - defines a new UserFolder, called UserFolderWithGroups, where you
can define the groups and what users belong to what groups,

  - patches BasicUser to add group support methods,

  - patches the the local roles management pages of the ZMI to define
what groups have what local roles,

  - patches the local role machinery in BasicUser to take into account
the groups when computing local roles.

TODO

  - CMF catalog support.

CAVEATS

  This product is not compatible with other products that may patch
  local roles support in BasicUser, for instance LRBlacklist. Do not use
  them together.


http://www.zope.org/Members/nuxeo/Products/NuxUserGroups/


Awaiting your comments and feedback,


Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:[EMAIL PROTECTED]

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



Re: [Zope-dev] User Groups

2001-12-12 Thread Florent Guillaume

Have a look at
http://www.zope.org//Wikis/DevSite/Proposals/LocalRolesRevamp for one
proposal related to this.

brian.r.brinegar.1 [EMAIL PROTECTED] wrote:
 I've found that it would be very useful to be able to define groups of
 users and then grant a local role to that group rather than individual
 users.


Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:[EMAIL PROTECTED]

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



[Zope-dev] User Groups

2001-12-11 Thread brian.r.brinegar.1

I've found that it would be very useful to be able to define groups of
users and then grant a local role to that group rather than individual
users.

For example we have multiple groups working together on our Zope
installation and there are certian objects my group may want to share with
another group. We can grant all the members of that group permission,
however if they hire someone new they have to notify the maintainers of
every object their group has access to.

Are there plans for anything to solve this problem?

The idea implementation I see would be a centralized group management
system (maybe in the control panel) and then ability to grant roles to the
group. But this would require changing core pieces of Zope. Any ideas on
implementation?

--Brian Brinegar
  ECN Web Technician
  MSEE 104 A 494-3106
  http://www.geeksoft.net/



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