Menu

iTop 3.2 - Can we delete user groups through extensions?

6 days ago
5 days ago
  • Jacques Dancause

    Hi there. I am familiar with adding groups through extensions, with

    <user_rights>
        <groups>
            <group></group>
        </groups>
    </user_rights>
    

    However, it is not clear if it's possible to delete a group. For example, definited in the module itop-profiles-itil, let's say I want to remove the following group, without editing the core module:

    <group id="Documentation" _delta="define">
            <classes>
              <class id="Document" />
            </classes>
          </group>
    

    Why can I not go into my extension and add:

    <group id="Documentation" _delta="delete" />
    

    in my custom groups extension?

    I have tried redefining the profiles that mention said groups, and I get an error (all it says is undefined) on the setup wizard.

    Thanks!

     
  • Vincent @ Combodo

    Hi Jacques,
    You can delete groups, but the problem occurs because deleting groups does not delete their usage in the various profiles using it.
    It is safer to just keep the group and make it empty by deleting the class id="Document" within the group. Maybe iTop will complain that a group must have at least one class, I don't know.

     

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.