Ticket #8192 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

[ICAT] Disable inappropriate Catalog menu items

Reported by: Peter Peterson Owned by: Jay Rainey
Priority: major Milestone: Release 3.1
Component: GUI Keywords: ICAT
Cc: Blocked By: #8274
Blocking: #8445 Tester: Nick Draper

Description

The three items for the "Catalog" menu item are:

  • Login - disable if logged in until multi-facility capabilities are added
  • Search - disable if not logged in
  • Logout - disable if not logged in

Change History

comment:1 Changed 7 years ago by Jay Rainey

  • Component changed from Framework to User Interface

comment:2 Changed 7 years ago by Jay Rainey

  • Summary changed from Disable inappropriate Catalog menu items to [ICAT] Disable inappropriate Catalog menu items

comment:3 Changed 7 years ago by Jay Rainey

  • Keywords ICAT added
  • Blocked By 8274 added

comment:4 Changed 7 years ago by Jay Rainey

  • Blocking 8445 added

comment:5 Changed 7 years ago by Jay Rainey

  • Blocking 8445 removed

comment:6 Changed 7 years ago by Jay Rainey

  • Blocking 8445 added

comment:7 Changed 7 years ago by Jay Rainey

  • Status changed from new to inprogress

Hide catalog menu items if not logged in. Refs #8192.

  • Note: I had to implement my own method to execute and open a dialog box (isValidCatalogLogin()) as the executeAlgorithm method in MantidUI does not function as expected (it always runs true due to executing asynchronously).

Changeset: 54ae08e6964f45e6cdb5f5429b151f36062a84c0

Last edited 7 years ago by Jay Rainey (previous) (diff)

comment:8 Changed 7 years ago by Jay Rainey

  • Status changed from inprogress to verify
  • Resolution set to fixed

To test

  1. Open Mantid and click the Catalog menu. There should now only be the Login option.
  2. Log in using the Login option. The Search and Logout menu items should now appear. Ensure they function as expected.
  3. Once you logout of the catalog the Search and Logout menu items will no longer be visible in the Catalog menu.

comment:9 Changed 7 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:10 Changed 7 years ago by Nick Draper

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/8192_icat_hide_menu_items'

Full changeset: 7c84cdc0aa5299cb0c08a5c31f42f793fd233352

comment:11 Changed 6 years ago by Owen Arnold

refs #8192. Reorder python packages.

Changeset: d25ba2572482e6055d77120f91b5bcee014d526a

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9037

Note: See TracTickets for help on using tickets.