Re: syncope-standalone maven artifact not available

2017-02-06 Thread Francesco Chicchiriccò

On 06/02/2017 19:56, Adrian Gonzalez wrote:

Hello,

I've the impression that syncope-standalone artifact is available only 
in SNAPSHOT repo.


It's available from here :
https://repository.apache.org/content/groups/snapshots/org/apache/syncope/syncope-standalone/ 



But not from here 
:https://repo.maven.apache.org/maven2/org/apache/syncope/syncope-standalone/


Am I missing a repo ?


The release process [1] deploys to the central Maven repository only the 
artifacts that can be effectively used via Maven.


The standalone distribution, the Eclipse IDE Plugin, the CLI, the DEB 
packages and the GUI installer are instead downloadable via the ASF dist 
area [2], and links to ASF mirror infrastructure are provided in [3].


The SNAPSHOT repository is instead populated by our Jenkins jobs [4].

Hope this clarifies.
Regards.

[1] http://syncope.apache.org/release-process.html
[2] https://www.apache.org/dist/syncope/
[3] http://syncope.apache.org/downloads.html
[4] https://builds.apache.org/view/S-Z/view/Syncope/

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/



Re: Assign group to user from DB

2017-02-06 Thread Marco Di Sabatino Di Diodoro



Il 06/02/2017 17:41, Marco Di Sabatino Di Diodoro ha scritto:


Hi,


Il 06/02/2017 17:11, Tech ha scritto:


Dear experts,

we're pulling information from a database. We want to assign 
automatically a group to a user.


The original table has a format like

-- "USERNAME" : "user01"

-- "ROLE": "employee"



In a pull task is possible to add a template. The template can be used 
for setting default values on entities during a pull task.
To configure a template go to Topology --> select the external 
resource to pull --> Pull Task and click the Template icon [1 Pull 
Templates].


[1] https://syncope.apache.org/docs/reference-guide.html#provisioning-pull


If a User is associated to a Group in your Database, and you like assign 
the corresponding User as a member of the corresponding Group in 
Syncope, you must implement a Pull Action [1]. Connid doesn't implement 
the assignment of a membership, so to obviate we can use a pull action.


[1] https://syncope.apache.org/docs/reference-guide.html#pullactions


We want the user being created into Syncope associated to the already 
existing group "employee", but we don't see how to create this 
association.


Is there any reference that we should check?

Thanks



--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/



Re: Assign group to user from DB

2017-02-06 Thread Marco Di Sabatino Di Diodoro

Hi,


Il 06/02/2017 17:11, Tech ha scritto:


Dear experts,

we're pulling information from a database. We want to assign 
automatically a group to a user.


The original table has a format like

-- "USERNAME" : "user01"

-- "ROLE": "employee"



In a pull task is possible to add a template. The template can be used 
for setting default values on entities during a pull task.
To configure a template go to Topology --> select the external resource 
to pull --> Pull Task and click the Template icon [1 Pull Templates].


[1] https://syncope.apache.org/docs/reference-guide.html#provisioning-pull


We want the user being created into Syncope associated to the already 
existing group "employee", but we don't see how to create this 
association.


Is there any reference that we should check?

Thanks



--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 085973
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/



Re: AnyType Role assignment to Groups

2017-02-06 Thread Francesco Chicchiriccò

Hi Sabina,
my replies below.

Regards.

On 05/02/2017 22:29, Sabina Mirauta wrote:

Hi Syncope users,

We need to store in Syncope roles for users and groups.
Since the Syncope roles are meant only for internal usage, I created 
an own AnyType CustomRole.
I have also defined a relationship UserCustomRole and for users I am 
able to create UserCustomRole relationships to CustomRoles.


For usability reasons we need to assign roles to groups, so that all 
users from a group have a role.
I don’t find another way to assign the CustomRole to a Group, than 
making the CustomRole a (static or dynamic) member of the group. I 
don’t like the role to be member of the group, members should be only 
the users.


AnyType instances are given the possibility to me member of groups, as 
much as users.



Can someone tell me a simple and more natural way to
- assign an AnyType CustomRole to a Group without making the 
CustomRole member of the group


No, at least without creating any extension to the data model.

- OR create a condition "User U is dynamically assigned CustomRole R 
because he is member of Group G”. I don’t find the way how to define 
this condition in Syncope.


Only group memberships and role assignments can be static or dynamic.

Or maybe I can create and assign CustomRoles in Syncope in another 
way? Like without AnyTypes?


Detailed instructions would help me very much.

Thank you!

Sabina Mirauta


--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/