User:Stuart/Scratchpad II

From The Dreaming
Jump to navigation Jump to search

Rail to Exeter

(from Traveline) through there is this from nationalrail: Less impressive, though - it has me sat around in Brum for an hour.

(Lancaster) Train to Wolverhampton 1 hour 37 minutes, Depart 07:56, Arrive 09:33 Virgin Trains

(Wolverhampton) Train to Birmingham New Street 17 minutes, Depart 09:41, Arrive 09:58 CrossCountry

(Birmingham New Street) Train to Exeter St Davids 2 hours 31 minutes, Depart 10:12, Arrive 12:43 CrossCountry


US-68 - Stories for EP-10: Permissions Overhaul

  • Split compound methods into separate methods
    • The archetypal example is changing a password, but there are others
  • Tidy up existing methods
    • There are some methods which are unused from the interface - either, they're only used from within clsServer itself, or they're not used at all. These should be sorted out.
    • Equally, there are some which are just single line calls of another method - this is fine when it's just a class, but when we need to maintain > 1 file for each method, and apply behaviour to each individual method, it becomes somewhat wasteful. eg.
      • HasSchedulerDataUpdated and HasFontDataUpdated are just single line calls to HasDataUpdated with a first argument of "Schedule" or "Font", respectively.
      • Actually, that's as far as my examples went
  • Enumerate the new permissions required
    • Tie them into the current permissions, ie. for each current permission, detail the set of new permissions that a user with that permission would end up with
    • Assign the new permissions to the IServer methods