Ticket #10307 (closed: fixed)

Opened 6 years ago

Last modified 6 years ago

ICAT setup for autoreduction

Reported by: MarcusNoble Owned by: MarcusNoble
Priority: minor Milestone: Release 3.3
Component: Tools Keywords: AUTOREDUCTION
Cc: doucetm@…, tom.griffin@…, nick.draper@…, anders.markvardsen@… Blocked By:
Blocking: #10147 Tester: Anders Markvardsen

Description (last modified by MarcusNoble) (diff)

  • Create a system account within ICAT to be used by the autoreduction webapp when not responding to user actions, for example by the queue processor. All ICAT interactions on behalf of a logged in user should use their session credentials. [TG]
  • Create a user group for autoreduction admins, giving the above account access to query it, that can be used to populate the admins of the webapp. [TG]
  • Implement new method to return a user's permission status (user, staff, superuser)
  • Update the login logic to check for these permissions and set them accordingly.

TG = Waiting on Tom Griffin

For Tester:

  1. Connect to datareducedev.isis.cclrc.ac.uk
  2. sudo su
  3. export PATH="/usr/local/bin:$PATH"
  4. python /var/www/autoreduce_webapp/manage.py test autoreduce_webapp.tests.ICATCommunicationTestCase (Note: One test will take longer than the others as it waits for a timeout)

Change History

comment:1 Changed 6 years ago by MarcusNoble

  • Status changed from new to assigned

comment:2 Changed 6 years ago by MarcusNoble

  • Status changed from assigned to inprogress

comment:3 Changed 6 years ago by MarcusNoble

  • Description modified (diff)

comment:4 Changed 6 years ago by MarcusNoble

  • Description modified (diff)

comment:5 Changed 6 years ago by MarcusNoble

  • Blocking 10286 removed

comment:6 Changed 6 years ago by MarcusNoble

  • Status changed from inprogress to verify
  • Resolution set to fixed
  • Description modified (diff)

comment:7 Changed 6 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:8 Changed 6 years ago by Anders Markvardsen

  • Status changed from verifying to closed

All 35 tests passed

Note: See TracTickets for help on using tickets.