Issue (View Online)

Key: NXP-1326
Issue Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Florent Guillaume
Reporter: Florent Guillaume

Operations

View all
View comments
View history
UserManager: add virtual groups 
Updated: 04/07/07 15:50   Created: 04/07/07 15:09  

The following comment has been added to this issue: [ Permlink ]

Author: Florent Guillaume
Date: 04/07/07 15:50
Comment:
Actually using an EL for the criteria is probably not a good solution, as it's too general, and we will want to introspect the criteria to be able to express it as a filter when doing queries. Consider the following use case:

3. list the members of the group "company_foo"

To do that, we have to do a query (in the user directory) with a filter of "company == foo".
So it's probably best to express the criteria as:
<and>
  <condition op="eq" property="companyId" value="foo"/>
</and>
(or something like that, this is just an example -- we use such xml in several places already so it would be best to unify it).

Project: Nuxeo Enterprise Platform 5
Affects Versions: 5.1 M3

 Description   
We need virtual groups that are assigned automatically to a user upon log in according to some criteria.

1. assign a given group to a user if the user fits some criteria,

2. assign a group with a dynamic name based on some user properties if the user fits some criteria.

The criteria can be based on some rules written in an EL (like for action conditions for instance,where we use Jexl, see DefaultActionFilter).

The dynamic group name can use a simple variable replacement, like "company_${user.companyId}" for instance.

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to