Skip to main content
1-Visitor
March 14, 2016
Question

CLI to view all the Projects

  • March 14, 2016
  • 1 reply
  • 3437 views

Hello Support,

In the Integrity Client there is "View Projects" menu to see all the Projects in Projects View GUI.

What is the corresponding CLI for listing all the Projects?

Thank you.

Regards

    1 reply

    pnone1-VisitorAuthor
    1-Visitor
    March 15, 2016

    Hello Support,

    I found the command.

    It is "si projects"

    Thank you.

    pnone1-VisitorAuthor
    1-Visitor
    March 15, 2016

    Hello Support,

    "si projects" command displays all the projects available on the Server or only the projects for which currently logged in user has permission?

    Which one?

    If it is based on Permission, then what is the permission name?

    Thank you.

    5-Regular Member
    March 15, 2016

    Hi Pashan,

    "si projects" from the CLI, is just like when you list the projects from within the GUI - it will list all the projects registered to the currently connected server.

    The presentation of this list of projects, can be controlled by the si.default.filterTopLevelProjects property (configurable from the si.properties file, for the Integrity server).

    By default, it will list all projects.

    But you can also change it, so that it will only present a list of projects that the current user has "OpenProject" permissions for.

    ex (from si.properties).

    #

    # Should the "OpenProject" permission be used to filter the registered project

    # list before it is displayed to the client?

    # (for the main server)

    # si.default.filterTopLevelProjects=false

    #

    # (for an FSA server)

    # si.<serveralias>.filterTopLevelProjects=false

    One could change it to be true.