Hi
I have two instances of portal user in my Itop, how can I define, depending on the organization they belong to, that they access one another?
That is, a user with organization A only accesses portal A and a user with organization B only accesses portal B.
Any idea? thanks for you help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For now there is no way to make that kind of redirection depending on an attribute (Organizationà or OQL. The only way to do it is through user profiles. This means that you would have to make sure each users of the Org A has a profile "Portal A" and each users of the Org B has a profile "Portal B", not great but it's the only way.
That being said, through an extension, you can call a PHP method on each user creation/modification to add/remove the correct profiles.
Hope this helps,
Guillaume
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your answer.
And would you know how I define that a user profile can only access that portal? I understand that in the XML of the portal itself.
But exactly how can I do it?
Thanks for your time and regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you take a look at the XML structure here, you will see a "portals" node just under "itop_design". It does NOT mean portal like the end-end user portal but more like the differents GUIs of iTop (backoffice, standard end-users portal, your custom portal, ...)
All you need to do is to add this node and complete the allow/deny nodes with the profiles you want.
Hope this helps,
Guillaume
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have two instances of portal user in my Itop, how can I define, depending on the organization they belong to, that they access one another?
That is, a user with organization A only accesses portal A and a user with organization B only accesses portal B.
Any idea? thanks for you help
Hello Francisco,
For now there is no way to make that kind of redirection depending on an attribute (Organizationà or OQL. The only way to do it is through user profiles. This means that you would have to make sure each users of the Org A has a profile "Portal A" and each users of the Org B has a profile "Portal B", not great but it's the only way.
That being said, through an extension, you can call a PHP method on each user creation/modification to add/remove the correct profiles.
Hope this helps,
Guillaume
Thanks for your answer.
And would you know how I define that a user profile can only access that portal? I understand that in the XML of the portal itself.
But exactly how can I do it?
Thanks for your time and regards
If you take a look at the XML structure here, you will see a "portals" node just under "itop_design". It does NOT mean portal like the end-end user portal but more like the differents GUIs of iTop (backoffice, standard end-users portal, your custom portal, ...)
All you need to do is to add this node and complete the allow/deny nodes with the profiles you want.
Hope this helps,
Guillaume