User:Stuart/Scratchpad II

From The Dreaming
Revision as of 15:01, 31 August 2016 by Stuart (talk | contribs) (Stories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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