On 21/01/2016 14:49, Dhairya wrote:
I've been evaluating Syncope (v1.2.6) for about 3 weeks. I was able to figure out most of the stuff we need to do (like syncing, provisioning, basic role approval)

Hi Dhairya,
this looks good.

but we also have a requirement that user be able to submit multiple independent approval requests. I did setup basic approval as indicated on http://blog.tirasa.net/approval-process-syncope.html but it seems the user can only submit one approval request and once the user is waiting approval, he is unable to login into his own profile.

You need to add the status in which the user is brought after the first approval request to the "authentication.statuses" parameter - from admin console go under Configuration then click on itemized list icon on top right corner.

The scenario we have is like this...

We have several approval roles based on the application you're requesting access to.

app-a-approver-role
      app-a1-role
      app-a1-role

app-b-approver-role
      app-b1-role
      app-b2-role

app-c-approver-role
      app-c1-role
      app-c2-role

So if the user selects app-a1-role, app-b1-role, and app-c2-role then we need to generate three independent approval request to app-a-approver-role, app-b-approver-role and app-c-approver-role.

if app-a-approver and app-b-approver approve then the user will be assigned app-a1-role and app-b1-role and if app-c-approver-role rejects then the user won't be assigned app-c2-role.

How do I setup something like this?

Essentially, you'll need to expand the logic introduced in the post mentioned above: it is indeed feasible, but not elementary.

Regards.

--
Francesco Chicchiriccò

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

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer
http://home.apache.org/~ilgrosso/

Reply via email to