Menu

Access to the portal depending on the organization

Francisco
2020-11-01
2020-11-02
  • Francisco

    Francisco - 2020-11-01

    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

     
  • Molkobain

    Molkobain - 2020-11-01

    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

     
  • Francisco

    Francisco - 2020-11-01

    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

     
  • Molkobain

    Molkobain - 2020-11-02

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.